ytai/ioio — pull request #46 by alinke (2013-01-17 05:39:57+00:00)
Title: RGB-LED Branch Changes

Thanks for the help, here's the code:

1. It's an original clone of rgb-led
2. I then merged the master branch into it
3. Then added two changes: loop frequency to 40hz and changed bluetooth name from "IOIO" to "PIXEL"

In the previous code, I also had this change below but have NOT added this one back yet as I'm not seeing the Bluetooth issues I was before so not sure if this one is still needed?

"Oh, I probably forgot to disable the matrix pins as I/O pins, so SoftReset resets them to their initial state as GPIO.
Hack here:
https://github.com/ytai/ioio/blob/master/firmware/app_layer_v1/features.c#L51
Skip the pins used for the matrix in the for() loop."

As far as testing goes:

1. the simple add that just writes all black https://github.com/alinke/PixelRaw565

2. animation code with no analog so this should run fine still https://github.com/alinke/PixelAnimate2

3. interactive animation code that uses prox sensor (I'll test this one of course but just for reference) https://github.com/alinke/PixelInteractive . This one is essentially the same as #2 but just uses the prox sensor to display a different animation when someone comes within range.