1
- webthing
2
- ========
1
+ webthing-arduino
2
+ ================
3
3
4
4
A simple server for the ESP8266, the ESP32, or any WiFi101-compatible board
5
5
that implements Mozilla's proposed Web of Things API. The [ LED
6
- example] ( https://github.com/mozilla-iot/webthing-esp8266 /blob/master/examples/LED )
6
+ example] ( https://github.com/mozilla-iot/webthing-arduino /blob/master/examples/LED )
7
7
exposes an onOffSwitch named "Built-in LED" which controls the board's built-in
8
8
LED. The [ LED Lamp
9
- example] ( https://github.com/mozilla-iot/webthing-esp8266 /blob/master/examples/LEDLamp )
9
+ example] ( https://github.com/mozilla-iot/webthing-arduino /blob/master/examples/LEDLamp )
10
10
ups the ante by introducing a ` level ` property to expose a dimmableLight.
11
11
12
12
## Arduino
@@ -28,11 +28,11 @@ Install the WiFi101 library from the Arduino library manager.
28
28
Make sure to install the ArduinoJson library if you don't have it
29
29
installed already.
30
30
31
- ![ ArduinoJson install process] ( https://github.com/mozilla-iot/webthing-esp8266 /raw/master/docs/arduinojson.png )
31
+ ![ ArduinoJson install process] ( https://github.com/mozilla-iot/webthing-arduino /raw/master/docs/arduinojson.png )
32
32
33
33
Next, download this library from the same library manager by searching for ` webthing ` .
34
34
35
- ![ add zip library and LED example] ( https://github.com/mozilla-iot/webthing-esp8266 /raw/master/docs/add-library-open-example.png )
35
+ ![ add zip library and LED example] ( https://github.com/mozilla-iot/webthing-arduino /raw/master/docs/add-library-open-example.png )
36
36
37
37
You should be able to upload the example sketch onto your board and use it as a
38
38
simple Web Thing. This Web Thing can be talked to using the WoT API or added to
@@ -46,7 +46,7 @@ your board using our proposed API.
46
46
47
47
## PlatformIO
48
48
49
- Add the ` webthing-esp8266 ` library through PlatformIO's package management
49
+ Add the ` webthing-arduino ` library through PlatformIO's package management
50
50
interface. You may also need to manually add the ArduinoJson and other
51
51
libraries to your project.
52
52
0 commit comments