/* may need math functions (e.g., cos) */ #include /* may need I/O functions (e.g., printf) */ #include /* declare HandyBoard library function prototypes */ int start_button (void); int stop_button (void); int digital (int port); void fd (int motor); void bk (int motor); void off (int motor); void alloff (void); void ao (void); void motor (int m, int p); void beep (void); void beeper_on (void); void beeper_off (void); void set_beeper_pitch (float freq); int analog (int port); int random (int max); void sleep (float sec); float seconds (void); void reset_system_time (void);