Using Arduino Leonardo to switch lights using IR with door as trigger
Read more about this project on my blog.
This code requires installation of these libraries to function:
- IRLib2
- Follow instructions in their README
- The Button library
- Search for "button tiny simple" in the Arduino Library Manager to find the correct library by Michael Adams
This work is licensed under a Creative Commons Attribution 3.0 Unported License.