Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lib
src
.gitignore
README.md
platformio.ini

README.md

sensor-monitor-switch

A simple project that makes use of the SensorMonitor library to poll a switch's state

Prerequisites

You need to have platformio installed to run this code (If you feel like it, you can adapt it to run in the usual Arduino IDE). This code is also provided in the examples of the SensorMonitor library and can be opened in Arduino IDE directly.

Initialise the project with platformio init

Change the board in platformio.ini to match your device

Running the code

platformio run --target upload

Monitor output

platformio device monitor

You can’t perform that action at this time.