robobuggy / arduino / RCbuggyMega / brake.h @ master
History | View | Annotate | Download (382 Bytes)
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
|
25 |
#endif
|