Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Fixed PWM driver reset #83

Merged
merged 4 commits into from
Jul 26, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed: PWM servo driver did not reset properly during initialization.
  • Loading branch information
sebastianludwig committed Jun 19, 2014
commit 4d92bf17cfc620a492801fa41bb712addcc599d2
2 changes: 1 addition & 1 deletion Adafruit_PWM_Servo_Driver/Adafruit_PWM_Servo_Driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, address=0x40, debug=False):
self.debug = debug
if (self.debug):
print "Reseting PCA9685"
self.i2c.write8(self.__MODE1, 0x00)
self.i2c.bus.write_byte(0x00, 0x06)

def setPWMFreq(self, freq):
"Sets the PWM frequency"
Expand Down