mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-07 15:23:43 +00:00
Adding pin definitions for Teensy boards
This commit is contained in:
parent
7d9a3ba593
commit
3645ee19ef
3 changed files with 68 additions and 3 deletions
|
|
@ -88,6 +88,26 @@
|
|||
#error "Either PI_HAT_7021_REV_02, PI_HAT_7021_REV_03, or ADF7021_CARRIER_BOARD need to be defined"
|
||||
#endif
|
||||
|
||||
#elif defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||
|
||||
// Teensy pin definitions
|
||||
#define PIN_SCLK 2
|
||||
#define PIN_SDATA 3
|
||||
#define PIN_SREAD 4
|
||||
#define PIN_SLE 5
|
||||
#define PIN_CE 6
|
||||
#define PIN_RXD 7
|
||||
#define PIN_TXD 8
|
||||
#define PIN_CLKOUT 22
|
||||
#define PIN_LED 13
|
||||
#define PIN_DEB 23
|
||||
#define PIN_DSTAR_LED 16
|
||||
#define PIN_DMR_LED 17
|
||||
#define PIN_YSF_LED 18
|
||||
#define PIN_P25_LED 19
|
||||
#define PIN_PTT_LED 14
|
||||
#define PIN_COS_LED 15
|
||||
|
||||
#else
|
||||
|
||||
// Arduino pin definitions (Due and Zero)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue