From 6b0116cace8ccdfe287156391824e0003774d8a9 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Fri, 21 Apr 2017 16:33:52 +1000 Subject: [PATCH] More complete Teensy pin mappings --- speeduino/utils.ino | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/speeduino/utils.ino b/speeduino/utils.ino index f0992d08..d322f14f 100644 --- a/speeduino/utils.ino +++ b/speeduino/utils.ino @@ -148,6 +148,17 @@ void setPinMapping(byte boardID) pinFan = A13; //Pin for the fan output pinLaunch = 12; //Can be overwritten below pinFlex = 2; // Flex sensor (Must be external interrupt enabled) + + #if defined(CORE_TEENSY) + pinTrigger = 23; + pinStepperDir = 33; + pinCoil1 = 31; + pinTachOut = 28; + pinFan = 27; + pinCoil4 = 21; + pinCoil3 = 30; + pinO2 = A22; + #endif break; case 3: @@ -186,12 +197,14 @@ void setPinMapping(byte boardID) #if defined(CORE_TEENSY) pinTrigger = 23; + pinTrigger2 = 35; pinStepperDir = 33; pinCoil1 = 31; pinTachOut = 28; pinFan = 27; pinCoil4 = 29; pinCoil3 = 30; + pinO2 = A22; #endif break;