ShiftBrite
Posted: Fri Apr 09, 2010 12:24 am
Hello,
I recently bought a couple ShiftBrites, http://docs.macetech.com/doku.php/shiftbrite . I thought it would be simple enough to write something simple to controll the ShiftBrites, just to get things started, but I've managed to do no such thing. If anyone would be willing to look at the link, there is some code written for Arduino as well as infographics describing how to control the ShiftBrite module, if you could lend me a hand in getting a similar program up and running in Flowcode, and the PIC, I'd be so very grateful.
My approach was to define red, green and blue as Ints, and use the subtraction method of decimal to binary to control 1 output pin, and for each output on that pin, pulse another pin acting as the clock. Needless to say, it didn't work.
Thanks in advance,
Mike
I recently bought a couple ShiftBrites, http://docs.macetech.com/doku.php/shiftbrite . I thought it would be simple enough to write something simple to controll the ShiftBrites, just to get things started, but I've managed to do no such thing. If anyone would be willing to look at the link, there is some code written for Arduino as well as infographics describing how to control the ShiftBrite module, if you could lend me a hand in getting a similar program up and running in Flowcode, and the PIC, I'd be so very grateful.
My approach was to define red, green and blue as Ints, and use the subtraction method of decimal to binary to control 1 output pin, and for each output on that pin, pulse another pin acting as the clock. Needless to say, it didn't work.
Thanks in advance,
Mike