BlinkM smart LED and basic stamp
haunteddansion
Posts: 68
Does anyone know how to integrate these with the stamp. In the .pdf it shows it can be done, but I am at a loss in finding example code and an actual way of hooking the two together. It seems like this can be a wonderful tool though! Thanks in advance!
Comments
Then it's a matter of sending the proper I2C commands to the LED module (see the thingm data sheet for command set).
The rub will be what flavor of Stamp are you using. If you are using a BS2p, that Stamp includes built-in I2CIN and I2COUT commands. If you are using a vanilla BS2, there is code that exists for "bit-banging" I2C. I would suggest reading up in the Pbasic (Stamp) manual under I2CIN and I2COUT -- there are good explanations of how it works, whether or not you use the commands or the "bit bang" code.
Nuts N Volts #115 has some code for a BS2 to act as an I2C master. See this page for a PDF of the column and a zip archive with code examples:
www.parallax.com/Resources/NutsVoltsColumns/NutsVoltsVolume5/tabid/448/Default.aspx
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
Maybe I should have waited to do that......
http://www.sunledusa.com/SearchResult.asp?Series=XSxxxxxx99W&SubCategoryDescription=Ultra-Bright%20RGB%20LEDs
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen