Skip to content

Instantly share code, notes, and snippets.

@yoshimax
Created May 29, 2014 11:50
Show Gist options
  • Save yoshimax/5751fb133d300fed3f03 to your computer and use it in GitHub Desktop.
Save yoshimax/5751fb133d300fed3f03 to your computer and use it in GitHub Desktop.
RaspberryPi_I2C_BlinkM
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