Add Plazomat 0.1 mapping
This commit is contained in:
parent
fb86e5fca6
commit
d662611710
|
@ -273,6 +273,12 @@ byte pinBat; //O2 Sensor pin
|
||||||
byte pinDisplayReset; // OLED reset pin
|
byte pinDisplayReset; // OLED reset pin
|
||||||
byte pinSpareTemp1; // Future use only
|
byte pinSpareTemp1; // Future use only
|
||||||
byte pinSpareTemp2; // Future use only
|
byte pinSpareTemp2; // Future use only
|
||||||
|
byte pinSpareOut1; //Generic output
|
||||||
|
byte pinSpareOut2; //Generic output
|
||||||
|
byte pinSpareOut3; //Generic output
|
||||||
|
byte pinSpareOut4; //Generic output
|
||||||
|
byte pinSpareOut5; //Generic output
|
||||||
|
byte pinSpareOut6; //Generic output
|
||||||
|
|
||||||
// global variables // from speeduino.ino
|
// global variables // from speeduino.ino
|
||||||
extern struct statuses currentStatus; // from speeduino.ino
|
extern struct statuses currentStatus; // from speeduino.ino
|
||||||
|
|
|
@ -91,7 +91,7 @@ page = 1
|
||||||
aseCount = scalar, U08, 83, "s", 1.0, 0.0, 0.0, 255, 0
|
aseCount = scalar, U08, 83, "s", 1.0, 0.0, 0.0, 255, 0
|
||||||
wueBins = array, U08, 84, [ 10], "%", 1.0, 0.0, 0.0, 255, 0
|
wueBins = array, U08, 84, [ 10], "%", 1.0, 0.0, 0.0, 255, 0
|
||||||
crankingPct= scalar, U08, 94, "%", 1.0, 0.0, 0.0, 255, 0
|
crankingPct= scalar, U08, 94, "%", 1.0, 0.0, 0.0, 255, 0
|
||||||
pinLayout = bits, U08, 95, [0:7], "Speeduino v0.1", "Speeduino v0.2", "Speeduino v0.3", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
|
pinLayout = bits, U08, 95, [0:7], "Speeduino v0.1", "Speeduino v0.2", "Speeduino v0.3", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Plazomat I/O 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
|
||||||
unused96 = scalar, U08, 96, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
unused96 = scalar, U08, 96, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
||||||
unused97 = scalar, U08, 97, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
unused97 = scalar, U08, 97, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
||||||
taeColdA = scalar, U08, 98, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
taeColdA = scalar, U08, 98, "ms", 0.1, 0.0, 0.0, 25.5, 1
|
27
utils.ino
27
utils.ino
|
@ -100,6 +100,33 @@ void setPinMapping(byte boardID)
|
||||||
pinSpareTemp2 = A5;
|
pinSpareTemp2 = A5;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 20:
|
||||||
|
//Pin mappings as per the Plazomat In/Out shields Rev 0.1
|
||||||
|
pinInjector1 = 8; //Output pin injector 1 is on
|
||||||
|
pinInjector2 = 9; //Output pin injector 2 is on
|
||||||
|
pinInjector3 = 10; //Output pin injector 3 is on
|
||||||
|
pinInjector4 = 11; //Output pin injector 4 is on
|
||||||
|
pinCoil1 = 28; //Pin for coil 1
|
||||||
|
pinCoil2 = 24; //Pin for coil 2
|
||||||
|
pinCoil3 = 40; //Pin for coil 3
|
||||||
|
pinCoil4 = 36; //Pin for coil 4
|
||||||
|
pinSpareOut1 = 4; //Spare LSD Output 1(PWM)
|
||||||
|
pinSpareOut2 = 5; //Spare LSD Output 2(PWM)
|
||||||
|
pinSpareOut3 = 6; //Spare LSD Output 3(PWM)
|
||||||
|
pinSpareOut4 = 7; //Spare LSD Output 4(PWM)
|
||||||
|
pinSpareOut5 = 50; //Spare LSD Output 5(digital)
|
||||||
|
pinSpareOut6 = 52; //Spare LSD Output 6(digital)
|
||||||
|
pinTrigger = 20; //The CAS pin
|
||||||
|
pinTrigger2 = 21; //The Cam Sensor pin
|
||||||
|
pinSpareTemp2 = A15; //spare Analog input 2
|
||||||
|
pinSpareTemp1 = A14; //spare Analog input 1
|
||||||
|
pinO2 = A8; //O2 Sensor pin
|
||||||
|
pinBat = A4; //Battery reference voltage pin
|
||||||
|
pinMAP = A3; //MAP sensor pin
|
||||||
|
pinTPS = A2;//TPS input pin
|
||||||
|
pinCLT = A1; //CLS sensor pin
|
||||||
|
pinIAT = A0; //IAT sensor pin
|
||||||
|
|
||||||
default:
|
default:
|
||||||
//Pin mappings as per the v0.2 shield
|
//Pin mappings as per the v0.2 shield
|
||||||
pinInjector1 = 8; //Output pin injector 1 is on
|
pinInjector1 = 8; //Output pin injector 1 is on
|
||||||
|
|
Loading…
Reference in New Issue