![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
DHT11 sensor test for Stage 1 Engineering at the University of York
Dependencies: DHT11 UoY-serial
main.cpp
- Committer:
- ajp109
- Date:
- 2021-02-04
- Revision:
- 1:acb591685a28
- Parent:
- 0:77209603a6fe
- Child:
- 2:789cc1bc1adc
File content as of revision 1:acb591685a28:
#include "mbed.h" DigitalOut green(D2); DigitalOut red(D3); int main() { while (true) { green = true; thread_sleep_for(500); green = false; thread_sleep_for(2500); } }