|
Re: digital inputs lag 0.5-1.0 second before registering change
printf's slow down the code in the RC, and as others have pointed out the serial port is very slow.
Your final version of competition code should have all the printf statements commented out (to get the fastest code loop execution times). Be aware that if you fine-tuned some SW function with printF's in the code, it will run faster when you comment them out, and it may act differently.
|