work in progress
Dependencies: FastAnalogIn FastIO USBDevice mbed FastPWM SimpleDMA
Fork of Pinscape_Controller by
Revision 38:697e10d8fb80, committed 2015-12-16
- Comitter:
- mkalkbrenner
- Date:
- Wed Dec 16 15:37:59 2015 +0000
- Parent:
- 37:42ef00b3da2e
- Commit message:
- fixed default configuration for extension boards
Changed in this revision
config.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 42ef00b3da2e -r 697e10d8fb80 config.h --- a/config.h Wed Dec 16 15:17:28 2015 +0000 +++ b/config.h Wed Dec 16 15:37:59 2015 +0000 @@ -787,9 +787,9 @@ // That's a function of how the TLC5940 port is physically wired // on the board. Likewise, the PTC8 output is hard-wired to the // knocker time limiter. - // TLC ports 1-20 and 44-47 = Darlington outputs, 1.5A max - // TLC ports 21-44 = MOSFET outputs (limit depends on MOSFET chosen) - // TLC ports 49-64 = direct outputs, limited to 20mA + // TLC ports 1-16 = Darlington outputs, 1.5A max + // TLC ports 17-32 = direct outputs, limited to 20mA + // TLC ports 33-64 = MOSFET outputs (limit depends on MOSFET chosen) // The first 32 ports are LedWiz-compatible, so they're universally // accessible, even to older non-DOF software. Attach the most common @@ -810,57 +810,58 @@ { 14, TLC_PORT }, // TLC port 14, LW output 14 - Flasher 5 G { 15, TLC_PORT }, // TLC port 15, LW output 15 - Flasher 5 B { 16, TLC_PORT }, // TLC port 16, LW output 16 - Strobe/Button light - { 17, TLC_PORT }, // TLC port 17, LW output 17 - Button light 1 - { 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 + { 33, TLC_PORT }, // TLC port 33, LW output 17 - Button light 1 + { 34, TLC_PORT }, // TLC port 34, LW output 18 - Button light 2 + { 35, TLC_PORT }, // TLC port 35, LW output 19 - Button light 3 + { 36, TLC_PORT }, // TLC port 36, 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 - { 24, TLC_PORT }, // TLC port 24, LW output 25 - Contactor 4/General purpose - { 25, TLC_PORT }, // TLC port 25, LW output 26 - Contactor 5/General purpose - { 26, TLC_PORT }, // TLC port 26, LW output 27 - Contactor 6/General purpose - { 27, TLC_PORT }, // TLC port 27, LW output 28 - Contactor 7/General purpose - { 28, TLC_PORT }, // TLC port 28, LW output 29 - Contactor 8/General purpose - { 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 + { 37, TLC_PORT }, // TLC port 37, LW output 22 - Contactor 1/General purpose + { 38, TLC_PORT }, // TLC port 38, LW output 23 - Contactor 2/General purpose + { 39, TLC_PORT }, // TLC port 39, LW output 24 - Contactor 3/General purpose + { 40, TLC_PORT }, // TLC port 40, LW output 25 - Contactor 4/General purpose + { 41, TLC_PORT }, // TLC port 41, LW output 26 - Contactor 5/General purpose + { 42, TLC_PORT }, // TLC port 42, LW output 27 - Contactor 6/General purpose + { 43, TLC_PORT }, // TLC port 43, LW output 28 - Contactor 7/General purpose + { 44, TLC_PORT }, // TLC port 44, LW output 29 - Contactor 8/General purpose + { 45, TLC_PORT }, // TLC port 45, LW output 30 - Contactor 9/General purpose + { 46, TLC_PORT }, // TLC port 46, LW output 31 - Contactor 10/General purpose + { 47, TLC_PORT }, // TLC port 47, LW output 32 - Shaker 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 + { 48, TLC_PORT }, // TLC port 32, LW output 33 - Gear Motor/General purpose + { 49, TLC_PORT }, // TLC port 33, LW output 34 - Fan/General purpose + { 50, TLC_PORT }, // TLC port 34, LW output 35 - Beacon/General purpose + { 51, TLC_PORT }, // TLC port 35, LW output 36 - Undercab RGB R/General purpose + { 52, TLC_PORT }, // TLC port 36, LW output 37 - Undercab RGB G/General purpose + { 53, TLC_PORT }, // TLC port 37, LW output 38 - Undercab RGB B/General purpose + { 54, TLC_PORT }, // TLC port 38, LW output 39 - Bell/General purpose + { 55, TLC_PORT }, // TLC port 39, LW output 40 - Chime 1/General purpose + { 56, TLC_PORT }, // TLC port 40, LW output 41 - Chime 2/General purpose + { 57, TLC_PORT }, // TLC port 41, LW output 42 - Chime 3/General purpose + { 58, TLC_PORT }, // TLC port 42, LW output 43 - General purpose + { 59, TLC_PORT }, // TLC port 43, LW output 44 - General purpose + { 60, TLC_PORT }, // TLC port 43, LW output 45 - General purpose + { 61, TLC_PORT }, // TLC port 44, LW output 46 - Button light 5 + { 62, TLC_PORT }, // TLC port 45, LW output 47 - Button light 6 + { 63, TLC_PORT }, // TLC port 46, LW output 48 - Button light 7 + { 64, TLC_PORT }, // TLC port 47, LW output 49 - Button light 8 + { 17, TLC_PORT }, // TLC port 49, LW output 50 - Flipper button RGB left R + { 18, TLC_PORT }, // TLC port 50, LW output 51 - Flipper button RGB left G + { 19, TLC_PORT }, // TLC port 51, LW output 52 - Flipper button RGB left B + { 20, TLC_PORT }, // TLC port 52, LW output 53 - Flipper button RGB right R + { 21, TLC_PORT }, // TLC port 53, LW output 54 - Flipper button RGB right G + { 22, TLC_PORT }, // TLC port 54, LW output 55 - Flipper button RGB right B + { 23, TLC_PORT }, // TLC port 55, LW output 56 - MagnaSave button RGB left R + { 24, TLC_PORT }, // TLC port 56, LW output 57 - MagnaSave button RGB left G + { 25, TLC_PORT }, // TLC port 57, LW output 58 - MagnaSave button RGB left B + { 26, TLC_PORT }, // TLC port 58, LW output 59 - MagnaSave button RGB right R + { 27, TLC_PORT }, // TLC port 59, LW output 60 - MagnaSave button RGB right G + { 28, TLC_PORT }, // TLC port 60, LW output 61 - MagnaSave button RGB right B + { 29, TLC_PORT }, // TLC port 61, LW output 62 - Extra RGB LED R + { 30, TLC_PORT }, // TLC port 62, LW output 63 - Extra RGB LED G + { 31, TLC_PORT }, // TLC port 63, LW output 64 - Extra RGB LED B + { 32, TLC_PORT } // TLC port 64, LW output 65 - Extra single LED #else