필터 지우기
필터 지우기

DHT11 arduino and app designer

조회 수: 2 (최근 30일)
Saad Oussaada
Saad Oussaada 2020년 3월 8일
댓글: Walter Roberson 2020년 3월 9일
I took those instructions from DHT11 bloc simulink and it doesn't work on app designer
should I include library of dht or what
could anyone help me please
ps : I am not a good programmer
a = arduino('com8','uno');
while true
coder.cinclude('dht_arduino.h');
coder.ceval('setDHT', uint8(obj.Pin), uint8(obj.Sensor));
H = coder.ceval('readHumidity');
T = coder.ceval('readTemp');
app.tempEditField.Value = T;
app.humiEditField.Value = H;
pause(0.5);
end
  댓글 수: 3
Saad Oussaada
Saad Oussaada 2020년 3월 9일
Could you help me please write a code that can read dht11 temp and humidity data and print it in EditField on app designer ?
Walter Roberson
Walter Roberson 2020년 3월 9일
https://circuitdigest.com/microcontroller-projects/matlab-data-logging-analysis-and-visualization-plotting-dht11-sensor-readings-on-matlab

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by