View Single Post
Old 12-18-2016, 04:27 PM   #4 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 828
Thanked 708 Times in 456 Posts
Quote:
Originally Posted by sallen View Post
Cheers - I've left a nice hole in the side of my MPGuino build just for this reason - to access the USB port for uploading updates. Happy to help with fixes.

My C-Class is a UK version, with literally no options specced, so it's rolling on super pimp 15" steelies rather than 17's. Tyre is 195/65/15.
Here, try this code. I've increased the parameter size from 16 bits to 18 bits, for the pulses per distance parameter, so it should easily handle 166770 now. I also re-coded the data transfer function so it will take a lot less critical time to perform. Hopefully, the issue you're seeing will be solved with the combination of these two changes.

Last edited by t vago; 12-19-2016 at 12:40 PM.. Reason: removed buggy code
  Reply With Quote