Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c19010
commit e82dba6
Showing
5 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef TLC_Teensy_IMXRT_h | ||
#define TLC_Teensy_IMXRT_h | ||
|
||
// bitbang I/O is pretty fast on Teensy 3.1 | ||
// and avoids SPI sharing problems | ||
#ifdef DATA_TRANSFER_MODE | ||
#undef DATA_TRANSFER_MODE | ||
#endif | ||
#define DATA_TRANSFER_MODE TLC_BITBANG | ||
|
||
// Teensy pin 6 -> SIN (TLC pin 26) | ||
#define DEFAULT_BB_SIN_PIN 6 | ||
#define DEFAULT_BB_SIN_PORT 6 | ||
#define DEFAULT_BB_SIN_DDR 6 | ||
|
||
// Teensy pin 7 -> SCLK (TLC pin 25) | ||
#define DEFAULT_BB_SCLK_PIN 7 | ||
#define DEFAULT_BB_SCLK_PORT 7 | ||
#define DEFAULT_BB_SCLK_DDR 7 | ||
|
||
// FTM1_CH0 (Teensy pin 3) -> XLAT (TLC pin 24) | ||
#define XLAT_PIN 3 | ||
#define XLAT_PORT 3 | ||
#define XLAT_DDR 3 | ||
|
||
// FTM1_CH1 (Teensy pin 4) -> BLANK (TLC pin 23) | ||
#define BLANK_PIN 2 | ||
#define BLANK_PORT 2 | ||
#define BLANK_DDR 2 | ||
|
||
// CMTOUT (Teensy pin 5) -> GSCLK (TLC pin 18) | ||
#define GSCLK_PIN 5 | ||
#define GSCLK_PORT 5 | ||
#define GSCLK_DDR 5 | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters