11 seconds to run my loop how do I get a faster refresh rate?
Posted: Mon Aug 26, 2019 8:28 am
I have a 2012 audi a6 and I am using the obd2 uart v1 adapter, esp32, tft ili9341. I first ran my program with random numbers generated and its refresh rate was many times a second. Now that I have added the pids: rpm, map, and intake map in place of the random numbers my refresh rate is one loop every 11 seconds. I read online that people using the sparkfun adapter sent an AT0 or AT ST 01 command which changes the adaptive timing. What code do I need to add to tell my car to send pids faster?