Created
May 29, 2014 11:50
-
-
Save yoshimax/5751fb133d300fed3f03 to your computer and use it in GitHub Desktop.
RaspberryPi_I2C_BlinkM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
/etc/module | |
i2c-dev | |
2. | |
/etc/modprobe.d/raspi-blacklist.conf | |
#blacklist i2c-bcm2708 | |
reboot | |
3. | |
sudo apt-get install i2c-tools | |
4. Detect BlinkM Address | |
$ sudo i2cdetect 0 | |
BlinkM DataSheet | |
http://thingm.com/fileadmin/thingm/downloads/BlinkM_datasheet.pdf | |
5. Stop Script | |
$ sudo i2cset -y 1 0x09 0x6f | |
6. Set RGB Color | |
$ sudo i2cset -y 1 0x09 0x63 255 0 0 i | |
7. Get BlinkM Address | |
$ sudo i2cget -y 1 0x09 0x61 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment