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
The result is and error on the line that set the value to 2000:
main.py output:
Traceback (most recent call last):
File "main.py", line 5, in
ValueError: Object has been deinitialized and can no longer be used. Create a new object.
What I see when debugging is that the AnalogOut object is getting smashed between the first and second call to common_hal_analogio_analogout_set_value(). It seems to be OK immediately after the dac_sync_write().
Testing on
analogio seems to fail when I try to change the value:
The result is and error on the line that set the value to 2000:
When trying the guide code from https://learn.adafruit.com/circuitpython-essentials/circuitpython-analog-out it fail on the line:
analog_out.value = i
The text was updated successfully, but these errors were encountered: