D:/DRISSI/arduino-0022/arduino-0022/libraries/uSonic/uSonic1.h
00001 
00002 #ifndef uSonic1_h
00003 
00004 #define uSonic1_h
00005 
00006 #include <WProgram.h>
00007 #include <Wire.h>
00008 
00009 #define srfAddress 0xF9
00010 
00011 #define srAddress 0xF0                   
00012 
00013 #define cmdByte 0x00                              
00014 
00015 #define rangeByte 0x02                 
00016 
00017 
00018 void init();
00019 
00020 int getRange();                     
00021 
00022 int getRangee();   
00023 
00024 #endif
00025 
00026 
00027 
00028