master
Ondřej Hruška 7 years ago committed by GitHub
parent e2fe52d08f
commit 15da610ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pymodoro.py

@ -20,7 +20,7 @@ class Pymodoro:
client = gex.Client(gex.TrxRawUSB()) client = gex.Client(gex.TrxRawUSB())
self.btn = gex.DIn(client, 'btn') self.btn = gex.DIn(client, 'btn')
self.neo = gex.Neopixel(client, 'neo') self.neo = gex.Neopixel(client, 'neo')
self.btn.on_trigger(0x01, self.on_btn) self.btn.on_trigger([0], self.on_btn)
self.switch(PH_BREAK_OVER) self.switch(PH_BREAK_OVER)
self.display() self.display()

Loading…
Cancel
Save