ตู้ไปรษณีย์แจ้งเตือนทาง Line สอนทำแบบระเอียดยิ๊บ..
---------------------
จากเมื่อสัปดาห์ที่แล้วผมได้โพสต์วีดีโอทดสอบการทำงานของตู้ไปรษณีย์แจ้งเตือนทางไลน์ไป ก็มีหลายๆคนสนใจผมจึงได้ทำคลิปขึ้นมา เพื่อพาทุกคนทำ ผมวังว่าคลิปนี้จะมีประโยชน์สำหรับใครหลายคนนะครับผม😊
-------------------------------------------------
คลิป https://www.youtube.com/watch?v=_cVsQ1oRuRA&t=108s
--------------------------------------------------
โค้ด
void Line_Notify1(String message1) ;
#include <ESP8266WiFi.h>
#include <DHT.h>
#define WIFI_SSID "ชื่อ wifi" /////////////*************แก้
#define WIFI_PASSWORD "รหัส wifi"////////**************แก้
#define LINE_TOKEN_PIR "line token"////***************แก้
#define PirPin D6
#define DHTPIN D7
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
String message1 = "ข้อความแจ้งเตือน";//****************แก้
bool beep_state = false;
bool send_state = false;
uint32_t ts, ts1, ts2;
void setup() {
Serial.begin(115200);
Serial.println();
pinMode(PirPin, INPUT);
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH);
dht.begin();
Serial.println("connecting");
WiFi.mode(WIFI_STA);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("connecting");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
}
Serial.println();
Serial.print("connected: ");
Serial.println(WiFi.localIP());
delay(10000);
Serial.println("Pir Ready!!");
read_sensor();
ts = ts1 = ts2 = millis();
}
void loop() {
ts = millis();
if (WiFi.status() == WL_CONNECTED) {
digitalWrite(LED_BUILTIN, LOW);
} else {
digitalWrite(LED_BUILTIN, HIGH);
}
if ((ts - ts2 >= 60000) && (WiFi.status() == WL_CONNECTED)) {
read_sensor();
}
if ((ts - ts1 >= 5000) && (beep_state == true)) {
beep_state = false;
}
if ((digitalRead(PirPin) == HIGH) && (beep_state == false) && (WiFi.status() == WL_CONNECTED)) {
while (digitalRead(PirPin) == HIGH) delay(100);
Serial.println("Detect !");
Line_Notify1(message1);
beep_state = true;
}
delay(10);
}
void Line_Notify1(String message) {
WiFiClientSecure client;
if (!client.connect("notify-api.line.me", 443)) {
Serial.println("connection failed");
delay(2000);
return;
}
String req = "";
req += "POST /api/notify HTTP/1.1\r\n";
req += "Host: notify-api.line.me\r\n";
req += "Authorization: Bearer " + String(LINE_TOKEN_PIR) + "\r\n";
req += "Cache-Control: no-cache\r\n";
req += "User-Agent: ESP8266\r\n";
req += "Content-Type: application/x-www-form-urlencoded\r\n";
req += "Content-Length: " + String(String("message=" + message1).length()) + "\r\n";
req += "\r\n";
req += "message=" + message1;
// Serial.println(req);
client.print(req);
delay(20);
while (client.connected()) {
String line = client.readStringUntil('\n');
if (line == "\r") {
break;
}
}
}
void read_sensor() {
float h = dht.readHumidity();
float t = dht.readTemperature();
if (isnan(h) || isnan(t)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
Serial.print("Temperature: ");
Serial.print(t);
Serial.println(" *C ");
}
----------------------------------------------------------
同時也有3部Youtube影片,追蹤數超過9,410的網紅Miley青山舞莉,也在其Youtube影片中提到,◀︎SHOP MADISON KAI► http://bit.ly/miley_madisonkai tops: https://m.nugu.jp/product/frill-lovely-cardigan/12821/category/533/display/1/?crema-widget-...
「c string length」的推薦目錄:
- 關於c string length 在 Audom Idea Facebook 的最讚貼文
- 關於c string length 在 Miley青山舞莉 Youtube 的最佳貼文
- 關於c string length 在 Tasty Japan Youtube 的精選貼文
- 關於c string length 在 張媽媽廚房Mama Cheung Youtube 的最讚貼文
- 關於c string length 在 Why should string length be plus one its capacity in C? - Stack ... 的評價
- 關於c string length 在 C++ string length在PTT/Dcard完整相關資訊 - 萌寵公園 的評價
- 關於c string length 在 C++ string length在PTT/Dcard完整相關資訊 - 萌寵公園 的評價
- 關於c string length 在 Read string of any length in C - Code Review Stack Exchange 的評價
- 關於c string length 在 String Length - ICU 70.1 的評價
c string length 在 Miley青山舞莉 Youtube 的最佳貼文
◀︎SHOP MADISON KAI►
http://bit.ly/miley_madisonkai
tops:
https://m.nugu.jp/product/frill-lovely-cardigan/12821/category/533/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/powder-linen-over-knit/12836/category/686/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/dip-crop-t/12818/category/686/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/two-line-string-sleeveless/12815/category/686/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/cool-linen-border-t/12811/category/686/display/1/?crema-widget-share-review-translation=on
bottoms:
https://m.nugu.jp/product/natural-washing-shorts/12838/category/687/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/mark-boyfit-cotton-pants/12835/category/687/display/1/?crema-widget-share-review-translation=on
https://m.nugu.jp/product/damage-hot-pants/12813/category/687/display/1/?crema-widget-share-review-translation=on
dress:
https://m.nugu.jp/product/like-midi-length-dress/12829/category/688/display/1/?crema-widget-share-review-translation=on
bag:
https://m.nugu.jp/product/shirring-handle-tote-bag/12839/category/689/display/1/?crema-widget-share-review-translation=on
accessory:
https://m.nugu.jp/product/mini-pearl-ring-necklace/12809/category/691/display/1/?crema-widget-share-review-translation=on
shoes:
https://m.nugu.jp/product/open-twist-mule/12802/category/690/display/1/?crema-widget-share-review-translation=on
hope u enjoyed this video
love you!!
► A B O U T
Hello! I'm Miley and I'm from Tokyo. I was raised in Singapore, Indonesia, and Japan so I think some international kids could relate to me. My videos are focused on my everyday life as a Waseda student but I also love sharing my everyday fashion, vlogs, and other random things. I hope you enjoy💗
► S O C I A L S
Instagram http://instagram.com/milez728
Tik Tok https://vt.tiktok.com/hs2D23/
Twitter https://twitter.com/miley_728
► C O N T A C T
Business Inquiries info@qualiam.com
http://www.qualiam.com/contact.html
Japan 生まれ Indonesia, Singapore, and Japan 育ちの青山舞莉です!早稲田大学の政治経済学部に通っています。スポーツ、フード、おしゃれ、メイク、お出かけ、なんでも経験したい好奇心旺盛なミーの大好きなことをアップしていきます!
ー年齢は?Age?
19歳 im nineteen :)
ー誕生日はいつ?Birthday?
2000年7月28日 July 28th 2000
millennium baby (did i spell that right?)
ー学年は?what year are you?
今は早稲田の大学2年生です!2020の秋から3年生になります!im a sophomore in college!! waseda university yay
ーどこの人?where are you from?
im full japanese!! 日本人!
ー身長は?Height?
156cm! i think thats like 5'1
ーカメラは何使ってる? what camera do you use?
Canon ・iPhone camera
ー編集ソフトウエアどれ使ってる?Editing software?
Adobe Spark and Canva for thumbnails & Final Cut Pro for my videos :)
青山舞莉のInstagram
https://www.instagram.com/milez728/
青山舞莉のTwitter
https://twitter.com/miley_728
青山舞莉のTikTok
https://t.tiktok.com/i18n/share/user/...
Contact
http://www.qualiam.com/contact.html
c string length 在 Tasty Japan Youtube 的精選貼文
片手で食べられるお手軽なスティックパイ。冷凍パイシートを使えば、簡単にお店の味が楽しめますよ!
さけるチーズを入れて焼けば、中からとろ〜りチーズが溢れ出し、病みつきになること間違いなし♪
ぜひ作ってみてくださいね!
スティックポテトパイ
4本分
材料:
18×10cmの冷凍パイシート(解凍する) 2枚
じゃがいも(ひと口大) 200g
ベーコン(粗みじん切り) 20g
片栗粉 小さじ1
塩 少々
コショウ 少々
さけるチーズ 4本
卵黄 1個分
作り方:
1.オーブンは180℃に予熱しておく。
2.ボウルにじゃがいもを入れてふんわりラップをかけ、600Wの電子レンジで5-6分加熱する。
3.熱いうちにマッシャーで潰し、ベーコン、片栗粉、塩、コショウを加えて混ぜ合わせる。
4.ラップを広げて(3)の1/4量を8cm程度の長方形にのばし、中央にチーズをのせて棒状に包む。
5.打ち粉(分量外)を振った台にパイシートをのせ、半分に切ってめん棒で伸ばす。
6.パイシートの右半分に縦に数カ所切り目を入れ、左側に(4)をのせる。
7.淵に卵黄を塗って、パイシートを半分に折りたたむ。重ね合わせた部分をフォークで軽く押さえて閉じる。
8.クッキングシートを敷いた天板に(7)を並べ、表面に刷毛で卵黄を塗る。180℃のオーブンで20-25分焼いたら、完成!
---
Cheese and Potato Pocket Pie
Servings:4
INGREDIENTS
2 Frozen pie sheets (18 x 10 cm, thaw)
200 grams Potato (bite size)
20 grams Bacon (coarsely chopped)
1 teaspoon Potato starch
Salt (to taste)
Pepper (to taste)
4 pieces String Cheese
1 Egg yolk
PREPARATION
1. Preheat the oven to 180°C.
2. Place potatoes in a bowl, wrap them softly and heat them in a 600W microwave for 5-6 minutes.
3. While hot, crush with a masher, add bacon, potato starch, salt, and pepper, mix well.
4. Lay a piece of plastic wrap flat and spread 1/4 of the potato mix in a rectangle shape of about 8cm in length, place a piece of string cheese in the center, wrap the potato mixture around it to form a cylinder shape.
5. Sprinkle a bit of flour in your working surface, extend the puff pastry and cut in half.
6. Make several cuts vertically in the right half of the pie sheet and put (4) on the left.
7. Apply yolk to the edge and fold the pie sheet in half. Lightly press the overlapped part with a fork and close.
8. Line up (7) on the top plate on which the cooking sheet is laid, and brush the surface with egg yolk. Bake in a 180 ° C oven for 20-25 minutes and you're done!
9. Enjoy!
#TastyJapan #レシピ
MUSIC
Licensed via Audio Network
c string length 在 張媽媽廚房Mama Cheung Youtube 的最讚貼文
張媽媽【媽女廚房-南瓜湯】, 簡單方便又健康! 最適合喜歡煮食但生活節奏很忙的朋友, 海外學生也適合喔!請Like我們的的Video和訂閱我的頻道呀! 如喜歡的話,請分享給朋友家人。謝謝。
MamaCheung presents "Cheung’s Kitchen Pumpkin Soup” recipe, it is easy to make and healthy to eat! Perfect for those who love to cook but with a hectic lifestyle. This is a great recipe for those overseas students too!
We hope you like this recipe! Please subscribe to my channel, give us a thumbs up and share this recipe to other foodies! Thank you.
請大家幫忙翻譯不同語言的字幕, Please help translate my video into different languages:
http://www.youtube.com/timedtext_cs_panel?c=UCXwdv_B9WPSqOmi5EARYknA&tab=2
材料 Ingredients (四人份量/4 persons):
五百克南瓜 500g Pumpkin
二百克洋蔥 200g Onion
五十克西芹 50g Celery
適量水 Water
一湯匙白酒 1 TBS white wine
五百毫升雞湯/雜菜湯 500ml Chicken / Vegetable stock
兩片月桂葉 2 Bay leaves
少許鹽,胡椒粉 Salt & pepper to taste
忌廉適量 Pouring cream (optional, to taste)
橄欖油適量 Olive oil
Bouquet Garni做法:
將以以下的材料,用一片大蒜包起來, 食用繩綁好
長度以月桂葉為例
一片月桂葉
三條蕃茜莖
一條鼠尾草
一片大蒜
一條食用繩
Make your own Bouquet Garni:
Using the outer layer of Leek, wrap the following herbs and trim everything to the same length as the bay leaf as a guide. Tie up with a piece of string.
Bay leaf x 1
Parsley stalk a few
Thyme x 1 stalk
Leek x 1 piece
Food safe string x 1 piece
跟我聯繫 Connect with me:
Facebook: https://www.facebook.com/mamacheungcooks
Instagram: https://instagram.com/mamacheungcooks/
Blogger: http://mamacheungcooks.blogspot.hk
Twitter: https://twitter.com/mamacheungcooks
Pinterest: https://www.pinterest.com/mamacheung
Tumblr: http://mamacheung.tumblr.com
食譜: http://mamacheungcooks.blogspot.com/2017/04/pumpkin-soup-easy-recipe.html
c string length 在 C++ string length在PTT/Dcard完整相關資訊 - 萌寵公園 的推薦與評價
String Length (The GNU C Library) - GNU.orgWhen applied to an array, the strlen function returns the length of the string stored there, not its allocated ... ... <看更多>
c string length 在 C++ string length在PTT/Dcard完整相關資訊 - 萌寵公園 的推薦與評價
String Length (The GNU C Library) - GNU.orgWhen applied to an array, the strlen function returns the length of the string stored there, not its allocated ... ... <看更多>
c string length 在 Why should string length be plus one its capacity in C? - Stack ... 的推薦與評價
... <看更多>