Skip to content
Discussion options

You must be logged in to vote

Those two lines:

upPIN.irq(trigger = upPIN.IRQ_RISING, handler = add())
downPIN.irq(trigger = downPIN.IRQ_RISING, handler = subtract())

need a change:

upPIN.irq(trigger = upPIN.IRQ_RISING, handler = add)
downPIN.irq(trigger = downPIN.IRQ_RISING, handler = subtract)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GitHubsSilverBullet
Comment options

Answer selected by dhopet
@dhopet
Comment options

@peterhinch
Comment options

@dhopet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants