#ifndef BUGHAL_H #define BUGHAL_H #include /* Hardware abstraction layer for Pentabug hardware */ enum { BUZZR_OUT, //initialize buzzer for OUTPUT mode (emmiting soundwaves) BUZZR_IN //initialize buzzer for INPUT mode (registering soundwaves) }; #define LED_L (1 << PORTC0) #define LED_R (1 << PORTC2) #define MOTOR_ON (0<