Recent activity
Subscribe to this feed
Andrei Achim replied on August 11, 2009 13:56 to the question "anyone used a blinkm with a parallax propeller?" in ThingM:
dave,
I used all the info provided by firehopper in the parallax forum (just do a search for blinkm in the propeller board and you'll find the thread, it's the only one. The code in there should get you started. The main thing is that although the default address of a BlinkM is #09, in SPIN you have to address it at #18, because you have to shift it one bit, with a 0, which represents the 'write bit'. In other words, %0000_1001 + 0 = %0001_0010. As far as the 3.3-5V issue (BlinkM is a 5V device, the Prop is a 3.3V device) and the pullup resistors go, the BlinkM datasheet clearly states that for short wire runs, internal pullups in modern controllers are enough. Also, the I2C driver we use (the MinimalI2Cdriver.spin) assumes there are no pullups. I used a Parallax Proto Board and wired directly '+' to VDD, '-' to VSS, 'c' to a free pin and 'd' to the next pin (of course, match the pin numbers in your program). It worked from the first try. The board I used also has 5V on it, so it makes it easy to drive the LEDs at their full potential (the 3.3V, while works, might not give the right colors).
Andrei Achim asked a question in ThingM on May 27, 2009 13:10:
Re-program scripts 1 through 16?Is there a way to re-program scripts 1 through 16?
I know the docs say only 0 can be re-written, but there were mentions on revising the firmware to make that possible.
Thanks.
Loading Profile...
