Project

General

Profile

Revision 0c873a67

ID0c873a678934d3644224359dbebdfcb750af3f9a
Parent c5d6b0e8
Child 453e1532

Added by Matthew Sebek about 10 years ago

Fixed up all the buggy code.

View differences:

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