We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062f944 commit 83f9110Copy full SHA for 83f9110
sbot/arduino.py
@@ -358,8 +358,8 @@ def analog_value(self) -> float:
358
ADC_MIN = 0
359
360
self._check_if_disabled()
361
- if self.mode not in ANALOG_READ_MODES:
362
- raise IOError(f'Analog read is not supported in {self.mode}')
+ # if self.mode not in ANALOG_READ_MODES:
+ # raise IOError(f'Analog read is not supported in {self.mode}')
363
if not self._supports_analog:
364
raise IOError('Pin does not support analog read')
365
response = self._serial.query(f'PIN:{self._index}:ANALOG:GET?')
0 commit comments