diff --git a/comms.ino b/comms.ino index 4e82328f..3727b2f3 100644 --- a/comms.ino +++ b/comms.ino @@ -3,9 +3,9 @@ This is called when a command is received over serial from TunerStudio / Megatun It parses the command and calls the relevant function A detailed description of each call can be found at: http://www.msextra.com/doc/ms1extra/COM_RS232.htm */ -#include "comms.h" -#include "globals.h" -#include "storage.h" +//#include "comms.h" +//#include "globals.h" +//#include "storage.h" void command() { diff --git a/globals.h b/globals.h index 48e078b3..12da1c29 100644 --- a/globals.h +++ b/globals.h @@ -248,7 +248,29 @@ struct config3 { }; +/* +//Pin mappings as per the v0.3 shield +#define pinInjector1 8 //Output pin injector 1 is on +#define pinInjector2 9 //Output pin injector 2 is on +#define pinInjector3 10 //Output pin injector 3 is on +#define pinInjector4 11 //Output pin injector 4 is on +#define pinCoil1 28 //Pin for coil 1 +#define pinCoil2 24 //Pin for coil 2 +#define pinCoil3 40 //Pin for coil 3 +#define pinCoil4 36 //Pin for coil 4 +#define pinTrigger 18 //The CAS pin +#define pinTrigger2 19 //The Cam Sensor pin +#define pinTPS A2 //TPS input pin +#define pinMAP A3 //MAP sensor pin +#define pinIAT A0 //IAT sensor pin +#define pinCLT A1 //CLS sensor pin +#define pinO2 A8 //O2 Sensor pin +#define pinBat A4 //O2 Sensor pin +#define pinDisplayReset 48 // OLED reset pin +*/ + //Pin mappings as per the v0.2 shield + #define pinInjector1 8 //Output pin injector 1 is on #define pinInjector2 9 //Output pin injector 2 is on #define pinInjector3 10 //Output pin injector 3 is on @@ -265,6 +287,8 @@ struct config3 { #define pinCLT A1 //CLS sensor pin #define pinO2 A8 //O2 Sensor pin #define pinBat A4 //O2 Sensor pin +#define pinDisplayReset 48 // OLED reset pin + //Pin mappings as per the v0.1 shield /*