Go to the documentation of this file.00001
00005 #ifndef uSonic_h
00006 #define uSonic_h
00007
00008
00009 #include <WProgram.h>
00010 #include <../Wire/Wire.h>
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00030 #define srfAddress 0xF9
00031
00032 #define srAddress 0xF0
00033
00034 #define cmdByte 0x00
00035
00036 #define rangeByte 0x02
00037
00046 int GetRangeUS1();
00047
00050 int GetRangeUS2();
00051
00057 #endif
00058
00059
00060
00061