Revision 6331ce9f
and .... now it compiles
arduino/RCbuggyMega/brake.h | ||
---|---|---|
1 |
/** |
|
2 |
* @file brake.h |
|
3 |
* @author Audrey Yeoh (ayeoh) |
|
4 |
* @author Matt Sebek (msebek) |
|
5 |
* |
|
6 |
* Initializes, raises, drops, and gets-state of |
|
7 |
* the brakes. |
|
8 |
* |
|
9 |
*/ |
|
10 |
#ifndef _BRAKE_H_ |
|
11 |
#define _BRAKE_H_ |
|
12 |
|
|
13 |
void brake_init(int brakePin, int indicatorLedPin); |
|
14 |
|
|
15 |
void brake_raise(); |
|
16 |
|
|
17 |
void brake_drop(); |
|
18 |
|
|
1 |
/** |
|
2 |
* @file brake.h |
|
3 |
* @author Audrey Yeoh (ayeoh) |
|
4 |
* @author Matt Sebek (msebek) |
|
5 |
* |
|
6 |
* Initializes, raises, drops, and gets-state of |
|
7 |
* the brakes. |
|
8 |
* |
|
9 |
*/ |
|
10 |
#ifndef _BRAKE_H_ |
|
11 |
#define _BRAKE_H_ |
|
12 |
#ifdef __cplusplus |
|
13 |
extern "C"{ |
|
14 |
#endif |
|
15 |
|
|
16 |
void brake_init(int brakePin, int indicatorLedPin); |
|
17 |
|
|
18 |
void brake_raise(); |
|
19 |
|
|
20 |
void brake_drop(); |
|
21 |
|
|
22 |
#ifdef __cplusplus |
|
23 |
} // extern "C" |
|
24 |
#endif |
|
19 | 25 |
#endif |
Also available in: Unified diff