Thursday, October 31, 2019

Error: Adafruit_Sensor.h: No such file with Arduino IDE (DH11) compile error

I want to use DH11 ,but compile  error.

In file included from
C:\Users\username
\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:
C:\Users\username\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
 #include <Adafruit_Sensor.h>




You have to install "Adafruit Unified Sensor" library with arduino library manager.Maybe can fix this problem.

If you still have this problem.

you can add "#include <Adafruit_Sensor.h>" in code.

Wednesday, October 30, 2019

Fix arduino "exec: "cmd": executable file not found in %PATH% "

compiling code with Arduino IDE. I get a error "exec: "cmd": executable file not found in %PATH% "

PATH add
%SystemRoot%\system32;%SystemRoot%;C:\Windows\System32;



Wednesday, October 23, 2019

How to use NodeMCU-32S Lua (ESP32) serial2 port (UART)

 NodeMCU-32S Lua have 3 UART. serial0 ,serial1, serial2.

serial  RX TX
GPIO3 GPIO1 
1 GPIO9 GPIO10
GPIO16 GPIO17


If ESP32 connect USB,only serial2 can work.