mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 08:05:49 +08:00
Alter UMP pin assignments on Teensy 3.1/3.2.
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user