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 def2916 commit 354f857Copy full SHA for 354f857
examples/Example_AnalogRead/Example_AnalogRead.ino
@@ -11,8 +11,21 @@ mapper_device dev = 0;
11
mapper_signal output_signal = 0;
12
13
void setup() {
14
+ Serial.begin(115200);
15
+
16
// Begin WiFi before creating mapper device
17
WiFi.begin(ssid, password);
18
19
+ // Wait for connection
20
+ while (WiFi.status() != WL_CONNECTED) {
21
+ delay(500);
22
+ Serial.print(".");
23
+ }
24
25
+ Serial.println("");
26
+ Serial.println("WiFi connected");
27
+ Serial.println("IP address: ");
28
+ Serial.println(WiFi.localIP());
29
30
// Initialize mapper device
31
dev = mapper_device_new("ESP32", 0, 0);
0 commit comments