MicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))
Recurrent reading of Joystick position returns an OSError 5 exception on the Raspberry-Pi Pico.
This seems to be unpredictable.
Accordingly to MicroPython forums, OSError would be a NACK sent by the device causing the exception raising.
Remark:
At the moment, no workaround found for this issue. Trying to capture it with a try/except from SenseHat.py just lockdown the Joystick code execution on the Pico!
Recurrent reading of Joystick position returns an OSError 5 exception on the Raspberry-Pi Pico. This seems to be unpredictable. Accordingly to MicroPython forums, OSError would be a NACK sent by the device causing the exception raising.
Remark: At the moment, no workaround found for this issue. Trying to capture it with a try/except from SenseHat.py just lockdown the Joystick code execution on the Pico!