Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a20bc4 commit b20ed9dCopy full SHA for b20ed9d
Actuators/LightSwitch/README.md
@@ -6,8 +6,10 @@ This sketch shows how to set up a Light Switch with Cayenne
6
1. In the Cayenne Dashboard add a new Light Switch Widget.
7
2. Select a GPIO pin number.
8
3. Attach the positive leg of an LED to ground and the other leg to the selected digital pin.
9
- Schematic:
+ * Schematic:
10
+ ```
11
[Ground] -- [LED] -- [Resistor] -- [Digital Pin]
12
13
4. Set the token variable to match the Arduino token from the Dashboard.
14
5. Compile and upload this sketch.
15
6. Once the Arduino connects to the Dashboard you can toggle the LED switch.
0 commit comments