Skip to content

Commit 051cfba

Browse files
committed
DM: add delay for analog write on raspberry pi
1 parent c92c22f commit 051cfba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_seesaw/seesaw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ def analog_write(self, pin, value):
309309
if pin_found is False:
310310
raise ValueError("Invalid PWM pin")
311311
self.write(_TIMER_BASE, _TIMER_PWM, cmd)
312+
time.sleep(.001)
312313

313314
def get_temp(self):
314315
buf = bytearray(4)

0 commit comments

Comments
 (0)