SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
AeroServo.h
Go to the documentation of this file.
1
18#ifndef __ECU_AEROSERVO_H__
19#define __ECU_AEROSERVO_H__
20
21#include <stdint.h>
22#include <stdlib.h>
23
24#include "Pins.h"
25
29namespace Aero {
30
35void setup(void);
36
43void run(int breakPressure, int steeringAngle);
44
51
52} // namespace Aero
53
54#endif // __ECU_AEROSERVO_H__
Update, set, and get predefined pin values.
Module used for aero calculations.
Definition AeroServo.h:29
void run(int breakPressure, int steeringAngle)
Run Aero servo logic, given raw values.
void setup(void)
Attach analog pins to their servo objects.
int getServoValue()
Get the current servo position value.