Hardware Reference
In-Depth Information
Serial.find()
Serial.findUntil()
Serial.parseInt()
Serial.parseFloat()
Serial.setTimeout()
Serial.write()
All of these functions have the same functionality as their Arduino counterparts, which
you can read more about at http://arduino.cc/en/Reference/serial .
I2C
“Analog-to-Digital Conversion” on page 298 briefly discussed I2C. This example in this
section uses a BlinkM RGB I2C-controlled LED. BlinkM ( Figure 6-8 ) has a high-quality,
high-power RGB LED and a small AVR microcontroller in one piece, allowing a user to
digitally control an RGB LED over a simple I2C interface. In this example, you'll change
the LED color both directly and using fade transitions.
Figure 6-8.
blinkM module
More information about this part and the commands you can send to it can be
found in the BlinkM datasheet .
To set up Blink FM, make the following connections:
 
Search WWH ::




Custom Search