Sample code for controlling a Grove relay from an Arduino Nano RP2040 Connect using both WIFI and a tactile button
This code requires that your device is registered with the Arduino IoT Cloud. Please follow my instructions on hackster.io to get started. https://www.hackster.io/robert-thas/internet-controlled-light-switch-c4381e
Assemble the circuit following the diagram layout.png attached to the sketch
Upload the code contained in this sketch on to your board
remote_lights_jun18a => Arduino sketch folder ├── remote_lights_jun18a.ino => main Arduino file ├── schematics.png => (optional) an image of the required schematics ├── layout.png => (optional) an image of the layout └── ReadMe.adoc => this file
This is available from the Hackster project page. https://www.hackster.io/robert-thas/internet-controlled-light-switch-c4381e
This document is written in the AsciiDoc format, a markup language to describe documents. If you need help you can search the AsciiDoc homepage or consult the AsciiDoc cheatsheet