Filter löschen
Filter löschen

DHT11 arduino and app designer

2 Ansichten (letzte 30 Tage)
Saad Oussaada
Saad Oussaada am 8 Mär. 2020
Kommentiert: Walter Roberson am 9 Mär. 2020
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 Kommentare
Saad Oussaada
Saad Oussaada am 9 Mär. 2020
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 am 9 Mär. 2020
https://circuitdigest.com/microcontroller-projects/matlab-data-logging-analysis-and-visualization-plotting-dht11-sensor-readings-on-matlab

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by