Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FastAnalogIn FastIO FastPWM SimpleDMA USBDevice mbed
Fork of Pinscape_Controller by
Revision 36:06e37b14c26a, committed 2015-12-26
- Comitter:
- mkalkbrenner
- Date:
- Sat Dec 26 11:51:40 2015 +0000
- Parent:
- 35:4f15ba9f524d
- Commit message:
- PTC4 output #1, PTC8 output #34 (knocker)
Changed in this revision
| config.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/config.h Mon Dec 14 16:36:39 2015 +0000
+++ b/config.h Sat Dec 26 11:51:40 2015 +0000
@@ -430,7 +430,7 @@
// has 2 chips and the MOSFET board has 2 more, for a total of 4. If
// you add extra daisy-chained MOSFET boards, add 2 more per board.
#ifdef EXPANSION_BOARD
-# define TLC5940_NCHIPS 4
+# define TLC5940_NCHIPS 2
#else
# define TLC5940_NCHIPS 0 // change this if you're using TLC5940's without the expansion board
#endif
@@ -794,6 +794,7 @@
// The first 32 ports are LedWiz-compatible, so they're universally
// accessible, even to older non-DOF software. Attach the most common
// devices to these ports.
+ { PTC4, DIG_GPIO },
{ 1, TLC_PORT }, // TLC port 1, LW output 1 - Flasher 1 R
{ 2, TLC_PORT }, // TLC port 2, LW output 2 - Flasher 1 G
{ 3, TLC_PORT }, // TLC port 3, LW output 3 - Flasher 1 B
@@ -814,7 +815,6 @@
{ 18, TLC_PORT }, // TLC port 18, LW output 18 - Button light 2
{ 19, TLC_PORT }, // TLC port 19, LW output 19 - Button light 3
{ 20, TLC_PORT }, // TLC port 20, LW output 20 - Button light 4
- { PTC8, DIG_GPIO }, // PTC8, LW output 21 - Replay Knocker
{ 21, TLC_PORT }, // TLC port 21, LW output 22 - Contactor 1/General purpose
{ 22, TLC_PORT }, // TLC port 22, LW output 23 - Contactor 2/General purpose
{ 23, TLC_PORT }, // TLC port 23, LW output 24 - Contactor 3/General purpose
@@ -826,41 +826,42 @@
{ 29, TLC_PORT }, // TLC port 29, LW output 30 - Contactor 9/General purpose
{ 30, TLC_PORT }, // TLC port 30, LW output 31 - Contactor 10/General purpose
{ 31, TLC_PORT }, // TLC port 31, LW output 32 - Shaker Motor/General purpose
+ { 32, TLC_PORT }, // TLC port 32, LW output 33 - Gear Motor/General purpose
// Ports 33+ are accessible only to DOF-based software. Older LedWiz-only
// software on the can't access these. Attach less common devices to these ports.
- { 32, TLC_PORT }, // TLC port 32, LW output 33 - Gear Motor/General purpose
- { 33, TLC_PORT }, // TLC port 33, LW output 34 - Fan/General purpose
- { 34, TLC_PORT }, // TLC port 34, LW output 35 - Beacon/General purpose
- { 35, TLC_PORT }, // TLC port 35, LW output 36 - Undercab RGB R/General purpose
- { 36, TLC_PORT }, // TLC port 36, LW output 37 - Undercab RGB G/General purpose
- { 37, TLC_PORT }, // TLC port 37, LW output 38 - Undercab RGB B/General purpose
- { 38, TLC_PORT }, // TLC port 38, LW output 39 - Bell/General purpose
- { 39, TLC_PORT }, // TLC port 39, LW output 40 - Chime 1/General purpose
- { 40, TLC_PORT }, // TLC port 40, LW output 41 - Chime 2/General purpose
- { 41, TLC_PORT }, // TLC port 41, LW output 42 - Chime 3/General purpose
- { 42, TLC_PORT }, // TLC port 42, LW output 43 - General purpose
- { 43, TLC_PORT }, // TLC port 43, LW output 44 - General purpose
- { 44, TLC_PORT }, // TLC port 44, LW output 45 - Button light 5
- { 45, TLC_PORT }, // TLC port 45, LW output 46 - Button light 6
- { 46, TLC_PORT }, // TLC port 46, LW output 47 - Button light 7
- { 47, TLC_PORT }, // TLC port 47, LW output 48 - Button light 8
- { 49, TLC_PORT }, // TLC port 49, LW output 49 - Flipper button RGB left R
- { 50, TLC_PORT }, // TLC port 50, LW output 50 - Flipper button RGB left G
- { 51, TLC_PORT }, // TLC port 51, LW output 51 - Flipper button RGB left B
- { 52, TLC_PORT }, // TLC port 52, LW output 52 - Flipper button RGB right R
- { 53, TLC_PORT }, // TLC port 53, LW output 53 - Flipper button RGB right G
- { 54, TLC_PORT }, // TLC port 54, LW output 54 - Flipper button RGB right B
- { 55, TLC_PORT }, // TLC port 55, LW output 55 - MagnaSave button RGB left R
- { 56, TLC_PORT }, // TLC port 56, LW output 56 - MagnaSave button RGB left G
- { 57, TLC_PORT }, // TLC port 57, LW output 57 - MagnaSave button RGB left B
- { 58, TLC_PORT }, // TLC port 58, LW output 58 - MagnaSave button RGB right R
- { 59, TLC_PORT }, // TLC port 59, LW output 59 - MagnaSave button RGB right G
- { 60, TLC_PORT }, // TLC port 60, LW output 60 - MagnaSave button RGB right B
- { 61, TLC_PORT }, // TLC port 61, LW output 61 - Extra RGB LED R
- { 62, TLC_PORT }, // TLC port 62, LW output 62 - Extra RGB LED G
- { 63, TLC_PORT }, // TLC port 63, LW output 63 - Extra RGB LED B
- { 64, TLC_PORT } // TLC port 64, LW output 64 - Extra single LED
+ { PTC8, DIG_GPIO } // PTC8, LW output 21 - Replay Knocker
+// { 33, TLC_PORT }, // TLC port 33, LW output 34 - Fan/General purpose
+// { 34, TLC_PORT }, // TLC port 34, LW output 35 - Beacon/General purpose
+// { 35, TLC_PORT }, // TLC port 35, LW output 36 - Undercab RGB R/General purpose
+// { 36, TLC_PORT }, // TLC port 36, LW output 37 - Undercab RGB G/General purpose
+// { 37, TLC_PORT }, // TLC port 37, LW output 38 - Undercab RGB B/General purpose
+// { 38, TLC_PORT }, // TLC port 38, LW output 39 - Bell/General purpose
+// { 39, TLC_PORT }, // TLC port 39, LW output 40 - Chime 1/General purpose
+// { 40, TLC_PORT }, // TLC port 40, LW output 41 - Chime 2/General purpose
+// { 41, TLC_PORT }, // TLC port 41, LW output 42 - Chime 3/General purpose
+// { 42, TLC_PORT }, // TLC port 42, LW output 43 - General purpose
+// { 43, TLC_PORT }, // TLC port 43, LW output 44 - General purpose
+// { 44, TLC_PORT }, // TLC port 44, LW output 45 - Button light 5
+// { 45, TLC_PORT }, // TLC port 45, LW output 46 - Button light 6
+// { 46, TLC_PORT }, // TLC port 46, LW output 47 - Button light 7
+// { 47, TLC_PORT }, // TLC port 47, LW output 48 - Button light 8
+// { 49, TLC_PORT }, // TLC port 49, LW output 49 - Flipper button RGB left R
+// { 50, TLC_PORT }, // TLC port 50, LW output 50 - Flipper button RGB left G
+// { 51, TLC_PORT }, // TLC port 51, LW output 51 - Flipper button RGB left B
+// { 52, TLC_PORT }, // TLC port 52, LW output 52 - Flipper button RGB right R
+// { 53, TLC_PORT }, // TLC port 53, LW output 53 - Flipper button RGB right G
+// { 54, TLC_PORT }, // TLC port 54, LW output 54 - Flipper button RGB right B
+// { 55, TLC_PORT }, // TLC port 55, LW output 55 - MagnaSave button RGB left R
+// { 56, TLC_PORT }, // TLC port 56, LW output 56 - MagnaSave button RGB left G
+// { 57, TLC_PORT }, // TLC port 57, LW output 57 - MagnaSave button RGB left B
+// { 58, TLC_PORT }, // TLC port 58, LW output 58 - MagnaSave button RGB right R
+// { 59, TLC_PORT }, // TLC port 59, LW output 59 - MagnaSave button RGB right G
+// { 60, TLC_PORT }, // TLC port 60, LW output 60 - MagnaSave button RGB right B
+// { 61, TLC_PORT }, // TLC port 61, LW output 61 - Extra RGB LED R
+// { 62, TLC_PORT }, // TLC port 62, LW output 62 - Extra RGB LED G
+// { 63, TLC_PORT }, // TLC port 63, LW output 63 - Extra RGB LED B
+// { 64, TLC_PORT } // TLC port 64, LW output 64 - Extra single LED
#else
