From 987a6921a1a39bf170640502d82b027ff6771ee5 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 17 Nov 2016 22:31:07 +0000 Subject: [PATCH] Alter UMP pin assignments on Teensy 3.1/3.2. --- UMP/UMP.ino | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/UMP/UMP.ino b/UMP/UMP.ino index 4f4469e..501737b 100644 --- a/UMP/UMP.ino +++ b/UMP/UMP.ino @@ -20,16 +20,27 @@ #define PIN_LED 13 #endif +#if defined(__MK20DX256__) #define PIN_DSTAR 2 -#define PIN_DMR 3 +#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_DMR 3 #define PIN_YSF 4 #define PIN_P25 5 #define PIN_TX 6 - #define PIN_CD 7 #define PIN_LOCKOUT 8 +#endif // Use the LOCKOUT function on the UMP // #define USE_LOCKOUT