Robots - Notes - IR Remote Control

X valid pulses within B time starting from C is a valid packet.

Starting from C [Start Pulse] X valid pulses while B is less than D is a valid packet.

Identify pulses as Short, Long, Start, and End all else error.

ISR characterizes pulse on falling edge transition.
short: inc bit position
set bit = 0
long: increment bit position
set bit = 1
error: reset bit position
<x bits = packet>
start: if bit position < x
then error
else set valid
move packet

Main - poll check for valid
process packet on valid


If you have any questions or comments about this page please email me at: debots_replacethis_dinkdaze.org with at sign.