// อภิสิทธิ์ วิเวกวรรณ์ ปวส.2/1 เลขที่ 3
#include <TridentTD_LineNotify.h>
#define SSID "Wokwi-GUEST"
#define PASSWORD ""
#define LINE_TOKEN "nvZ1HeYuqWIUpPK4sY9AIeZxaY0fecyEzu8eS5cHC2R"
void setup() {
Serial.begin(115200);
Serial.println();
Serial.println(LINE.getVersion());
WiFi.begin(SSID, PASSWORD);
Serial.printf("WiFi connecting to %s\n", SSID);
while (WiFi.status() != WL_CONNECTED){
Serial.print(".");
delay(400);
}
Serial.printf("\nWiFi connected\nIP : ");
Serial.println(WiFi.localIP());
LINE.setToken(LINE_TOKEN);
LINE.notify("สวัสดี");
LINE.notifySticker(6632,11825376);
LINE.notifyPicture("https://static.wikia.nocookie.net/monster/images/8/8d/Godzilla_2014_RoomMates_Godzilla_Peel_and_Stick_Giant_Wall_Decals.jpg/revision/latest/scale-to-width-down/350?cb=20160114191906");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}