TLC5940 test program. Uses the Pinscape TLC5940 interface class in isolation to test the outputs directly. Configured for Pinscape Expansion Boards by default but can be changed to any other pin configuration.
Diff: main.cpp
- Revision:
- 1:f66778df0d8d
- Parent:
- 0:3ca2fd0d22ba
--- a/main.cpp Fri Jul 08 23:56:34 2016 +0000 +++ b/main.cpp Fri Jul 08 23:57:01 2016 +0000 @@ -22,7 +22,7 @@ // 2 = Sweep mode - outputs ramped up one at a time then ramped // down one at a time // -const int MODE = 2; +const int MODE = 0; // TLC5940 configuration const int NCHIPS = 2; // number of TLC5940 chips in daisy chain