From e1f2f42107adc18c950f8416f32a5ce3555b2c2b Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Fri, 25 Sep 2015 06:24:40 +1000 Subject: [PATCH] Initial boost and vvt page work --- comms.h | 1 + comms.ino | 63 +++++++++++++++++++++++++++++++++++++++-- reference/speeduino.ini | 33 ++++++++++++++++----- scheduler.ino | 4 +-- speeduino.ino | 10 +++++-- storage.h | 14 +++++++++ 6 files changed, 111 insertions(+), 14 deletions(-) diff --git a/comms.h b/comms.h index 3a935d13..ae5f7fbb 100644 --- a/comms.h +++ b/comms.h @@ -8,6 +8,7 @@ #define afrMapPage 5 #define afrSetPage 6 #define iacPage 7 +#define boostvvtPage 8 byte currentPage; diff --git a/comms.ino b/comms.ino index 385f97a4..66fd0357 100644 --- a/comms.ino +++ b/comms.ino @@ -88,6 +88,13 @@ void command() break; case 'Z': //Totally non-standard testing function. Will be removed once calibration testing is completed. This function takes 1.5kb of program space! :S + digitalWrite(pinInjector1, HIGH); + digitalWrite(pinInjector2, HIGH); + delay(20); + digitalWrite(pinInjector1, LOW); + digitalWrite(pinInjector2, LOW); + return; + Serial.println("Coolant"); for(int x=0; x