will do

pretty sure 12v is ok because if I stop straight away and stop and restart the log it starts again straight away so no loss to zombie also inverter and battery voltage match and remain stable so not losing power to inverterrstevens81 wrote: ↑Fri Feb 16, 2024 2:38 pm you haven't got a bad earth or something essentially cutting the 12v?
yes I will go back to graphs as they seem unaffected can't test anymore today as the school is kicking out (damn pesky kids)
no don't lose wifi, I will have to go back to the graphs as plot is less temperamental
Thanks royhen99. temp_inv_water=int8_t(mth_data[20]); worked for me. Quick run around the block. Smooth as can be!royhen99 wrote: ↑Tue Feb 13, 2024 7:04 pm As far as I can tell the bodge in lastest release is only in the prius inverter for some reason. Having looked at several posts here and on discord it appears that the temperatures are 8 bit signed value ( maybe it was just assumed to be 16 bit ) . The MTH value when read gets placed into an array of unsigned values that then gets converted to float. I think this Is why Damien was seeing 255 at negative temperatures ( this is also another clue that values are 8 bit and not 16 ). The unsigned value needs converting to integer before converting to float either like this, for 300H, temp_inv_water=int8_t(mth_data[20]); or by declaring temp_inv_water as int8_t in GS450.h.
Since this power cut was stopping me progressing with the car I decided to drag my arse into the 21st century and learn how to compile a binary for the zombieverter it took quite a while to install the required software but I got there eventually and made the change as per the quoted post and the problem has now gone the only problem I now have is that I compiled it from the 2.04A release but I'm running a modified version of this that jamie sent me to make my brake booster work so now goes but doesn't stop
Code: Select all
temp_inv_water=int8_t(mth_data[20]);
no idea about below 0, I was just seeing if it worked I haven't even looked at the temps it's throwing out If the rain stops I'll get out and try it and log some values see what happensBigpie wrote: ↑Mon Feb 19, 2024 10:27 am https://github.com/damienmaguire/Stm32-vcu/pull/76 Has the fix, apply that and you're golden.
Also https://github.com/crasbe/ZombieBuild is the easiest way to build
What about when it's below 0?Code: Select all
temp_inv_water=int8_t(mth_data[20]);
HAHA I totally misread that
Thanks for giving me the benefit of the doubt but your confidence in me was misplaced all I got for my time was a screen full of errors it seems that editing that one line of code was my limit I shall stick to licking windows and eating CrayonsBigpie wrote: ↑Mon Feb 19, 2024 10:27 am https://github.com/damienmaguire/Stm32-vcu/pull/76 Has the fix, apply that and you're golden.
Also https://github.com/crasbe/ZombieBuild is the easiest way to build
What about when it's below 0?Code: Select all
temp_inv_water=int8_t(mth_data[20]);