00001 00002 #include "datatypes.h" 00003 #include "t89c51cc02.h" 00004 00006 #define Bumper_activate() P1_4=1 00007 00008 #define Bumper_deactivate() P1_4=0 00009 00011 #define BUMPERSENSORS_NR 8 00012 00013 void Bumper_init(void); 00014 void Bumper_select(BYTE); 00015 WORD Bumper_read(BYTE); 00016