Instead, he goes straight for a wireless receiver he had on hand ... off button of the remote he set out to replicate it in his Arduino code. His function called setStateWithDelay takes three ...