Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <TridentTD_LineNotify.h>
- #define SSID “xxxxx"
- #define PASSWORD “xxxx"
- #define LINE_TOKEN “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
- void setup() {
- Serial.begin(115200); Serial.println();
- WiFi.begin(SSID, PASSWORD);
- while (WiFi.status() != WL_CONNECTED) {
- Serial.print(".");
- delay(400);
- }
- Serial.printf("\nWiFi connected\nIP : ");
- Serial.println(WiFi.localIP());
- LINE.setToken(LINE_TOKEN);
- LINE.notify("ทดสอบส่งข้อความ");
- }
- void loop() { delay(1); }
- /*
- https://github.com/arnon2020/LINENotify/blob/master/sticker_list.pdf
- */
Advertisement
Add Comment
Please, Sign In to add comment