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 5a0eb1e commit 684ef87Copy full SHA for 684ef87
adafruit_drv2605.py
@@ -209,7 +209,10 @@ def sequence(self) -> "_DRV2605_Sequence":
209
return self._sequence
210
211
def set_realtime_value(self, val: int) -> None:
212
- """Set the output value (amplitude) used for Real-Time Playback"""
+ """Set the output value used for Real-Time Playback. By default, the device
213
+ interprets the value as SIGNED (2s complement), and its effect depends on
214
+ other operating parameters. Consult the datasheet for more information!
215
+ """
216
if not 0 <= val <= 255:
217
raise ValueError("Real-Time Playback value must be a value within 0-255!")
218
self._write_u8(_DRV2605_REG_RTPIN, val)
0 commit comments