Replies: 1 comment
-
Hi, your the first person to run my code apart from me I think :) That issue is real odd and I can't explain it off-hand. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi mr-sneezy, nice work!! I've a civic ej1 1995 P28 ECU and using a arduino uno and a hc06 as a bridge to torque (simple and not extended sensors) my RPM goes down insted run up!!
I'm using this code (and also use a kerpz code too)
else if (!strcmp(btdata1, "010C")) { // rpm
if (dlcCommand(0x20, 0x05, 0x00, 0x02, dlcdata)) { //Note 2 bytes used here
if ((dlcdata[2] == 255) && (dlcdata[3] == 255)) { //Trap a condition where my test ECU sends 255, 255 when engine is off
dlcdata[2]=0; //Set a 255 value to 0
dlcdata[3]=0;
}
sprintf_P(btdata2, PSTR("41 0C %02X %02X\r\n>"), dlcdata[2], dlcdata[3]);
}
else {
sprintf_P(btdata2, PSTR("DATA ERROR\r\n>"));
}
}
any idea?
Beta Was this translation helpful? Give feedback.
All reactions