An Ardiuno library that allows you to make virutal buttons. It is used to simulate digitalRead() and has some helper methods for toggling toggle switch(es).
- Category: Sensors
- Download the library VirtualButton.zip.
- Install the custom library by clicking Sketch then Include Library then Add .Zip Library. Select the zip you just downloaded.
- Now the library should be installed.
See the examples:
- ToggleSwitchExample - Shows how to setup and use a virtal toggle switch.
- VirtualDigitalReadExample - Shows how to setup and use virtual digitalRead().