Update mixly_arduino/mpBuild/ESP32_MixGo/lib/mixgo.py
@@ -40,8 +40,8 @@ class Button:
def is_pressed(self):
return 1 - Pin(self.pin).value()
- def irq(self, h, t):
- Pin(self.pin).irq(handler = h, trigger = t)
+ def irq(self, handler, trigger):
+ Pin(self.pin).irq(handler = handler, trigger = trigger)
# Pin
