This repository was archived by the owner on Jun 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
4
4
An arduino-C implementation of the API wrapper for CubeServer
5
5
6
- _ This currently only supports ESP8266 (It's in development!)_
7
-
8
6
Minimum code to post a temperature value of 32 degrees F every 10 minutes:
9
7
``` C++
10
8
#include < Arduino.h>
@@ -24,9 +22,11 @@ void loop() {
24
22
```
25
23
26
24
## Supported devices
27
- This library currently supports only ESP8266 devices, with support coming soon for esp32.
28
- This library has only yet been tested on the following devices:
25
+ This library is intended to support ESP8266 and ESP32 microcontrollers.
26
+
27
+ This library has only yet been tested on the following boards:
29
28
* Adafruit Feather Huzzah ESP8266
29
+ * Unexpected Maker Feather S2 (ESP32)
30
30
31
31
32
32
## Installation/Usage:
@@ -53,7 +53,7 @@ This library has only yet been tested on the following devices:
53
53
#include <server.h>
54
54
#include "client_config.h"
55
55
56
- CubeServer server(TEAM_NAME, TEAM_SECRET, SERVER_FINGERPRINT);
56
+ CubeServer server(TEAM_NAME, TEAM_SECRET, SERVER_FINGERPRINT); // Use SERVER_FINGERPRINT_SHA256 on ESP32
57
57
```
58
58
instead of:
59
59
@@ -74,7 +74,7 @@ Advanced features demonstrated:
74
74
#include <server.h>
75
75
#include "client_config.h"
76
76
77
- CubeServer server(TEAM_NAME, TEAM_SECRET, SERVER_FINGERPRINT);
77
+ CubeServer server(TEAM_NAME, TEAM_SECRET, SERVER_FINGERPRINT); // Use SERVER_FINGERPRINT_SHA256 on ESP32
78
78
79
79
int code;
80
80
GameStatus stats;
You can’t perform that action at this time.
0 commit comments