1#ifndef RENSSELAERMOTORSPORT_BRAKEPRESSURE_H
2#define RENSSELAERMOTORSPORT_BRAKEPRESSURE_H
4#include "../AnalogSensor.h"
float transferFunctionBrakePressure(float rawVal)
Converts raw brake pressure data to a meaningful pressure value.
float getBrakePressure(BrakePressure *bp)
Gets the current brake pressure.
void initBrakePressure(BrakePressure *bp, int hz, int channel)
Initializes the BrakePressure sensor with the given frequency and channel.
void updateBrakePressure(void *bp)
Updates the brake pressure data.