Commit 0f1ea89d authored by Ralf's avatar Ralf
Browse files

buzzer is now alsp inverted

parent 5e442672
......@@ -46,7 +46,7 @@ class Actor:
self._CMDs = {
Actor.CMD_UNLOCK: Actor.CMD("unlock", pin=Pin(0x21,2), tid=0, todo=[(True, 0.1), (False, 0.1)], i2c=i2c, invert=True),
Actor.CMD_LOCK: Actor.CMD( "lock", pin=Pin(0x21,3), tid=0, todo=[(True, 0.1), (False, 0.1)], i2c=i2c, invert=True),
Actor.CMD_BUZZ: Actor.CMD( "buzz", pin=Pin(0x21,1), tid=1, todo=[(True, 2.5), (False, 0.1)], i2c=i2c, invert=False),
Actor.CMD_BUZZ: Actor.CMD( "buzz", pin=Pin(0x21,1), tid=1, todo=[(True, 2.5), (False, 0.1)], i2c=i2c, invert=True),
}
# launch threads, all running the "_execute" method
self.threads = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment