Skip to content

Commit

Permalink
DM: add delay for analog write on raspberry pi
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed Nov 27, 2018
1 parent c92c22f commit 051cfba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adafruit_seesaw/seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def analog_write(self, pin, value):
if pin_found is False:
raise ValueError("Invalid PWM pin")
self.write(_TIMER_BASE, _TIMER_PWM, cmd)
time.sleep(.001)

def get_temp(self):
buf = bytearray(4)
Expand Down

0 comments on commit 051cfba

Please sign in to comment.