Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e825db

Browse files
committedFeb 15, 2019
- fixed variable name in example
- added printDebugInfo() in example setup
1 parent f7f8b31 commit 3e825db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎examples/ArduinoIoTCloud_LED_switch/ArduinoIoTCloud_LED_switch.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void setup() {
3434
3535
setDebugMessageLevel(3);
3636
*/
37-
37+
ArduinoCloud.printDebugInfo();
3838
}
3939

4040
void loop() {
@@ -51,5 +51,5 @@ void loop() {
5151
void onLedChange() {
5252
Serial.print("LED set to ");
5353
Serial.println(led);
54-
digitalWrite(LED_BUILTIN, ledSwitch);
54+
digitalWrite(LED_BUILTIN, led);
5555
}

0 commit comments

Comments
 (0)
Please sign in to comment.