Author Archive for: เอ้ด
About อ.เอ้ด
This author has yet to write their bio.Meanwhile lets just say that we are proud อ.เอ้ด contributed a whooping 218 entries.
Entries by อ.เอ้ด
ESPEASY ADC Calibration
8 December 2021 in ESPEasy /by อ.เอ้ดpoint1 ค่าน้อย 100.00 point2 ค่ามาก 0
ESPEASY DEEP SLEEP
5 December 2021 in ESPEasy /by อ.เอ้ดSleep awake time:ตื่นอยู่นานแค่ไหน วินาที Sleep time: หลับนานแค่ไหน วินาที
KBKB5005565 ,KB5006670 ,KB5007186 Print ที่ Share ไม่ได้
29 November 2021 in Microsoft /by อ.เอ้ดuninstall http://download.microsoft.com/download/f/2/2/f22d5fdb-59cd-4275-8c95-1be17bf70b21/wushowhide.diagcab
Install DotNet 3.5 Windows 10 with source (no Internet)
25 November 2021 in ไม่มีหมวดหมู่ /by อ.เอ้ดเอาไฟล์จาก usb หรือ iso
เอาไฟล์จาก usb หรือ iso ของ windows 10 ใน
\\sources\sxs
microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab
กับ
Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~.cab
ไม่รู้อันไหนก็ copy มาทั้งสองอันใส่ใน d:\sources\sxs
cmd สิทธิ์ admin
Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
ESP32 ลูป reboot นรก Brownout detector was triggered
15 November 2021 in ไม่มีหมวดหมู่ /by อ.เอ้ด-
ESP32 มีระบบเตือน Error ออกมาเมื่อ แรงดันไฟต่ำกว่า 2.4V และจะ Reset ตัวเองอัตโนมัติ
สาเหตุ น่าจะเกิดจากแหล่งจ่ายไฟ USB ที่มีไฟเลี้ยงไม่เกิน 500mA
การแก้ไขคือ เพิ่มแหล่งจ่าย 5V
หรือ ใช้ library โดยเพื่อปิด Brownout detector#include “soc/soc.h”
#include “soc/rtc_cntl_reg.h”และ void setup() {
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable detector
//โค้ดอื่น ๆ
}
Real VNC Server บน Raspberry PI
31 October 2021 in ไม่มีหมวดหมู่ /by อ.เอ้ดArduino Preference ESP8266 ESP32
22 October 2021 in Arduino /by อ.เอ้ดAdditional Boards Manager URLs
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
millis() ใน arduino
15 October 2021 in Arduino /by อ.เอ้ดแบบที่ 1
unsigned long period = 1000; //ระยะเวลาที่ต้องการรอ
unsigned long last_time = 0; //ประกาศตัวแปรเป็น global เพื่อเก็บค่าไว้ไม่ให้ reset จากการวนloop
void setup() {
Serial.begin(115200);
}
void loop() {
if( millis() - last_time > period) {
last_time = millis(); //เซฟเวลาปัจจุบันไว้เพื่อรอจนกว่า millis() จะมากกว่าตัวมันเท่า period
Serial.println("Hello arduinona!");
}
}
ขอบคุณ: https://www.modulemore.com/article/3/%E0%B8%A5%E0%B8%94%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89-delay-%E0%B8%AB%E0%B8%B1%E0%B8%99%E0%B8%A1%E0%B8%B2%E0%B9%83%E0%B8%8A%E0%B9%89-millis-%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B8%94%E0%B8%B5%E0%B8%81%E0%B8%A7%E0%B9%88%E0%B8%B2
แนวที่ 2
int period = 1000;
unsigned long time_now = 0;
void setup() {
Serial.begin(115200);
}
void loop() {
time_now = millis();
Serial.println(“Hello”);
while(millis() < time_now + period){
//wait approx. [period] ms
}
}
Windows 7 , 2008 r2 Service Pack 2
7 October 2021 in OS /by อ.เอ้ดKB3125574 windows x32 KB3125574 Windows x64
Interesting links
Here are some interesting links for you! Enjoy your stay :)Categories
Archive
- January 2024
- September 2023
- August 2023
- June 2023
- May 2023
- January 2023
- December 2022
- September 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- August 2021
- July 2021
- June 2021
- May 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- July 2019
- June 2019
- September 2018
- August 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- September 2017
- August 2017
- July 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- March 2016
- October 2015
- September 2015
- August 2015
- March 2015
- March 2014
- October 2011