For some reason, when i verify the code it doesn't like the '<>' bit saying:
exit status 1
expected primary-expression before '>' token
I'm guessing the '>' is required here as you would need the button state to be larger than the last state to indicate the trigger had previously been released?
Bookmarks