is there a way to make a if then statement like this:
IF rising edge is detected on portb.0 THEN
do some code
endif
im trying to increment a varible by 1 every time it receves a low high transistion on input pin portb.0. the timing between of the signals could be from 10 to 500 ms. i cant have any long pauses.
Bookmarks