You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a conflict between using the ADC in an IRQ and in the main event loop.
I guess the simple solution is just to read the battery level in the accelerometer data handler so we're not doing it outside the IRQ, but maybe some kind of locking in jshAnalogRead would be better
The text was updated successfully, but these errors were encountered:
http://forum.espruino.com/conversations/349185/#comment15344704
It's a conflict between using the ADC in an IRQ and in the main event loop.
I guess the simple solution is just to read the battery level in the accelerometer data handler so we're not doing it outside the IRQ, but maybe some kind of locking in jshAnalogRead would be better
The text was updated successfully, but these errors were encountered: