1 //*****************************************************************************
 2 // controller_sensors.h
 3 //
 4 // author: chris madormo
 5 //*****************************************************************************
 6 // function prototypes
 7 
 8 // return throttle setting
 9 char get_throttle(void);
10 
11 // return direction setting
12 char get_direction(void);
13 
14 // return shooting setting
15 char get_shoot(void);
16 
17 // connect button
18 unsigned char isButtonPressed(void);
19 
20 // get boat address
21 unsigned char get_boat_address(void);
22 
23 // light display characters to display
24 typedef enum DisplayChar
25 {
26     ZERO,
27     ONE,
28     TWO,
29     THREE,
30     FOUR,
31     FIVE,
32     SIX,
33     SEVEN,
34     EIGHT,
35     NINE,
36     TEN,
37     ELEVEN,
38     TWELVE,
39     THIRTEEN,
40     FOURTEEN,
41     FIFTEEN,
42     OFF
43 }  DisplayChar_t;
44 
45 // set the led display
46 void setLEDDisplay(DisplayChar_t charToDisplay);