Alter UMP pin assignments on Teensy 3.1/3.2.
This commit is contained in:
parent
1259cd42ea
commit
987a6921a1
13
UMP/UMP.ino
13
UMP/UMP.ino
|
@ -20,16 +20,27 @@
|
||||||
#define PIN_LED 13
|
#define PIN_LED 13
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__MK20DX256__)
|
||||||
|
#define PIN_DSTAR 2
|
||||||
|
#define PIN_DMR 3
|
||||||
|
#define PIN_YSF 4
|
||||||
|
#define PIN_P25 5
|
||||||
|
|
||||||
|
#define PIN_TX 10
|
||||||
|
#define PIN_CD 11
|
||||||
|
|
||||||
|
#define PIN_LOCKOUT 12
|
||||||
|
#else
|
||||||
#define PIN_DSTAR 2
|
#define PIN_DSTAR 2
|
||||||
#define PIN_DMR 3
|
#define PIN_DMR 3
|
||||||
#define PIN_YSF 4
|
#define PIN_YSF 4
|
||||||
#define PIN_P25 5
|
#define PIN_P25 5
|
||||||
|
|
||||||
#define PIN_TX 6
|
#define PIN_TX 6
|
||||||
|
|
||||||
#define PIN_CD 7
|
#define PIN_CD 7
|
||||||
|
|
||||||
#define PIN_LOCKOUT 8
|
#define PIN_LOCKOUT 8
|
||||||
|
#endif
|
||||||
|
|
||||||
// Use the LOCKOUT function on the UMP
|
// Use the LOCKOUT function on the UMP
|
||||||
// #define USE_LOCKOUT
|
// #define USE_LOCKOUT
|
||||||
|
|
Loading…
Reference in a new issue