cylon-gpio
cylon-gpio copied to clipboard
Digital Input
trafficstars
I am new with arduino stuff and Cylon, so sorry if this question sounds silly.
I have attach a laser receiver sensor to my arduino board and I'd to read its state change with Cylon. I try to look up on the available GPIO drivers and end up trying 'button'. The event I know is 'on push' which seems will be triggered only when it state change from 0 to 1. But I need also the opposite, which is from 1 to 0.
How do I get the event? Thank you.
Hi @facetime88 the event you are looking for is "release".
Hope that helps!