Revision 0c873a67
Fixed up all the buggy code.
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 |
*/ |
|
1 | 10 |
#ifndef _BRAKE_H_ |
2 | 11 |
#define _BRAKE_H_ |
3 | 12 |
|
4 |
void brake_init(int brakePin, int ledPin); |
|
5 |
|
|
6 |
void raiseBrake(); |
|
7 |
|
|
8 |
void dropBrake(); |
|
13 |
void brake_init(int brakePin, int indicatorLedPin); |
|
9 | 14 |
|
10 |
#endif |
|
15 |
void brake_raise(); |
|
16 |
|
|
17 |
void brake_drop(); |
|
18 |
|
|
19 |
#endif |
Also available in: Unified diff