Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "main.h" 00002 #include "mbed.h" 00003 #include "TextLCD.h" 00004 00005 DigitalOut myled = LED1; 00006 00007 TextLCD lcd(p24, p26, p27, p28, p29, p30); 00008 00009 int main(){ 00010 00011 timer2.start(); 00012 00013 for(;;){ 00014 Ultrasonic(); 00015 00016 lcd.cls(); 00017 lcd.printf("%d\n",ultrasonicVal[3]); 00018 00019 00020 wait_us(200); 00021 } 00022 }
Generated on Sun Jul 17 2022 19:38:53 by
1.7.2