×

Meng DIY's video: Arduino

@วัดแรงดันไฟฟ้าด้วย โมดูล+Arduino
#โปรแกรมเมอร์มือใหม่ #วัดแรงดันไฟฟ้าด้วยโมดูล สั่งซื้อสินค้า : https://bit.ly/3osz2jL ในคลิปผมประกาศตัวแปร sensor แต่ไม่ได้นำมาใช้ ต้องขออภัยด้วยครับ ถ้าเราจะนำมาใช้ก็ให้ใส่เป็น AnalogRead(sensor); ครับ Code: const int sensor = A0; void setup() { pinMode(sensor, INPUT); Serial.begin(9600); } void loop() { double val = mapf(analogRead(A0), 0, 1024, 0, 25); Serial.println(val); delay(100); } double mapf(double val, double in_min, double in_max, double out_min, double out_max) { return (val - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; } Facebook:https://www.facebook.com/programmerMuemai

7

4
Meng DIY
Subscribers
26.3K
Total Post
272
Total Views
628.5K
Avg. Views
12.6K
View Profile
This video was published on 2020-12-27 01:34:40 GMT by @%e0%b9%82%e0%b8%9b%e0%b8%a3%e0%b9%81%e0%b8%81%e0%b8%a3%e0%b8%a1%e0%b9%80%e0%b8%a1%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88 on Youtube. Meng DIY has total 26.3K subscribers on Youtube and has a total of 272 video.This video has received 7 Likes which are lower than the average likes that Meng DIY gets . @%e0%b9%82%e0%b8%9b%e0%b8%a3%e0%b9%81%e0%b8%81%e0%b8%a3%e0%b8%a1%e0%b9%80%e0%b8%a1%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88 receives an average views of 12.6K per video on Youtube.This video has received 4 comments which are lower than the average comments that Meng DIY gets . Overall the views for this video was lower than the average for the profile.Meng DIY #โปรแกรมเมอร์มือใหม่ #วัดแรงดันไฟฟ้าด้วยโมดูล #Arduino สั่งซื้อสินค้า has been used frequently in this Post.

Other post by @%e0%b9%82%e0%b8%9b%e0%b8%a3%e0%b9%81%e0%b8%81%e0%b8%a3%e0%b8%a1%e0%b9%80%e0%b8%a1%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%a1%e0%b8%b7%e0%b8%ad%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88