Page 1 of 1

HELP FROM AN PROGRAMMER TO SWAP IGNITION CHANEL 1 TO 4

Posted: Sat May 08, 2021 9:31 pm
by Sagal89
Hello men,
I have a board 0.4.4b that worked in a car with single chanel ignition output (distributor used) but now something on speeduino (arduino mega ignition signal works fine) doesnt work (looks like U2, tc4424a is burnt...).
Because i'm only using ignition chanel 1, maybe someone can help me how to swap on code ignition channel 1 to 4 that uses u4 TC4424A..

it would be great if someone who knows the code can tell me what to rename on code... or better if can send me a modified 2012 version

thank you very much

Re: HELP FROM AN PROGRAMMER TO SWAP IGNITION CHANEL 1 TO 4

Posted: Sat May 08, 2021 11:35 pm
by theonewithin
You could do it yourself. It's very easy.

Just look at init.ino from memory and search for your board and you can change the pin definitions there.

Re: HELP FROM AN PROGRAMMER TO SWAP IGNITION CHANEL 1 TO 4

Posted: Sun May 09, 2021 3:46 pm
by Sagal89
thanks to guide me to init.ino, i have modified this, i will try if this works.thanks

//Pin mappings as per the v0.4 shield
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
pinInjector5 = 12; //Output pin injector 5 is on
pinInjector6 = 50; //CAUTION: Uses the same as Coil 4 below.
pinCoil1 = 50; //Pin for coil 1
pinCoil2 = 38; //Pin for coil 2
pinCoil3 = 52; //Pin for coil 3
pinCoil4 = 40; //Pin for coil 4