EdgeBotix / Mbed 2 deprecated eBot_Firmware_V1

Dependencies:   mbed HC05 QEI MODSERIAL SWSPI mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ultrasonic.h Source File

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