×

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