1#ifndef RENSSELAERMOTORSPORT_TEMPERATURE_H
2#define RENSSELAERMOTORSPORT_TEMPERATURE_H
4#include "../AnalogSensor.h"
double getTemperatureFahrenheit(Temperature *temp)
Gets the current temperature in Fahrenheit.
double transferFunction(Temperature *temp, int rawValue)
Converts raw temperature data to a meaningful temperature value.
void initTemperature(Temperature *temp, int hz, int channel)
Initializes the Temperature sensor with the given frequency and channel.
double getTemperatureCelsius(Temperature *temp)
Gets the current temperature in Celsius.
void updateTemperature(void *temp)
Updates the Temperature data.