ADC reads wrong values every now and then. The problem is fixed by disabling the auto LED updating, so I’d guess both the LED update thread and the user thread start an ADC read around the same time, which results in the wrong ADC channel result being returned to one of them.
ADC reads wrong values every now and then. The problem is fixed by disabling the auto LED updating, so I’d guess both the LED update thread and the user thread start an ADC read around the same time, which results in the wrong ADC channel result being returned to one of them.