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.
Dependencies: mbed HC05 QEI MODSERIAL SWSPI mbed-rtos
ultrasonic.h
00001 #ifndef ULTRASONIC_H 00002 #define ULTRASONIC_H 00003 #include "mbed.h" 00004 #include "robot.h" 00005 extern int UL_rR; 00006 extern int UL_R; 00007 extern int UL_F; 00008 extern int UL_L; 00009 extern int UL_rL; 00010 extern int UL_B; 00011 void isort(int *a, int n); 00012 int mode(int *x,int n); 00013 int sensorvalue(AnalogIn pin); 00014 void ultrasonic_run(); 00015 #endif
Generated on Wed Jul 13 2022 22:51:50 by
1.7.2