![]() |
Quote:
Code:
if (whichSensor.indexOf("obdbrzoiltempf") >= 0){Serial is just a usb serial monitor (standard arduino stuff) There are two versions of getResponse() that I've been toying with. One of which uses peek in a nice way. I think that's the right one to work on. I need to modify it to pick up multiple lines in the return of a CAN message. Code:
void getResponse(void){This is the other one: Code:
//from: https://forum.sparkfun.com/viewtopic.php?f=14&t=32457&start=60 and https://forum.sparkfun.com/viewtopic.php?f=14&t=38253I can use a basic program to send typed commands directly to the device and it seems to work, which leads me to believe that this is timing related. At the moment after doing an ATZ and ATE0 the first display page/sensor reading is water temp and it just returns "?". If I stick entirely to using the second getResponse (without the peek). Everything works, except the water temp...this is what really has me stumped. |
So, using the getResponse() without the peek I added a reading of water temp in my initial setup routines. It reads correctly there, but screws up in the actual display code.
I must be close to solving it, right :) . Sleep, or code, hmmm.... |
I chose sleep: https://github.com/stirobot/arduinoM...6fd00e4247274e is where i left off. Maybe fresh eyes can figure out why all normal PID's and oil temp work but the !#$!@# coolant temp won't show up.
(yet it shows up in that initial setup if I put it there FFS) |
| All times are GMT -4. The time now is 01:26 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
User Alert System provided by
Advanced User Tagging v3.3.0 (Lite) -
vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.