Sonar
Dependencies: mbed SDHC_FileSystem DS18B20_1wire HC_SR04_Ultrasonic_Library
main.cpp
- Committer:
- igorsilvati
- Date:
- 2016-09-22
- Revision:
- 0:a449396d32de
File content as of revision 0:a449396d32de:
#include "mbed.h" DigitalOut gpo(D0); DigitalOut led(LED_RED); int main() { while (true) { gpo = !gpo; // toggle pin led = !led; // toggle led wait(0.2f); } }