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.
Revision 1:f66778df0d8d, committed 2016-07-08
- Comitter:
- mjr
- Date:
- Fri Jul 08 23:57:01 2016 +0000
- Parent:
- 0:3ca2fd0d22ba
- Commit message:
- Set mode to 0 by default;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3ca2fd0d22ba -r f66778df0d8d main.cpp --- 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