Quote:
Originally Posted by Jared341
|
The sensor you suggest outputs in an oscillating wave pattern; it outputs ON for 600 μs and then OFF for 600 μs. Any tips/tricks/fancy hacks for writing code to detect such a pattern and discern it from a long OFF period?