Skip to content

Commit

Permalink
Merge pull request #17 from Citrullin/simple-led-example
Browse files Browse the repository at this point in the history
LED example readme
  • Loading branch information
relu91 authored Oct 11, 2021
2 parents 3aa2a46 + 19c9365 commit b340faa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/LED/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## LED WebThings example

You need to install the WebThings Arduino library in order to use this example.

Change the ssid and password in order to connect to your router

```c++
const char *ssid = "";
const char *password = "";
```

Connect a LED to PIN 19. Or, if you want to use another PIN, change the PIN accordingly in the code.

```c++
const int externalPin = 19;
```

0 comments on commit b340faa

Please sign in to comment.