Created
July 23, 2019 08:41
-
-
Save jacepark12/10d2d9cf48052f2b64217fd738663fbf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Sunshower.h> | |
| const char* apiKey = "apiSecretKey"; | |
| void setup() { | |
| // ESP 모듈 initializing | |
| Sunshower.setup("wifi", "password", apiKey); | |
| } | |
| void loop() { | |
| Sunshower.run(); | |
| //send data to sunshower | |
| int data = 10; | |
| Sunshower.send("bucketKey",data); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment