Skip to content

Commit

Permalink
Added ESP8266 relay switch example
Browse files Browse the repository at this point in the history
Added ESP8266 relay switch example
  • Loading branch information
iot-playground committed Dec 23, 2014
1 parent 1dae16f commit 3de078c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Esp8266EasyIoT/examples/esp8266_relay/esp8266_relay.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void setup()
esp.begin(incomingMessage, 3, &serialEsp, &Serial);
//esp.begin(incomingMessage, 3, &serialEsp);

pinMode(13, OUTPUT);
pinMode(RELAY_1, OUTPUT);

esp.present(1, S_DIGITAL_OUTPUT);
}
Expand Down

0 comments on commit 3de078c

Please sign in to comment.