Newer
Older
#ifndef _POTENTIOMETER_H_
#define _POTENTIOMETER_H_
#include <stdio.h>
#include "Configuration.h"
class Potentiometer {
public:
Potentiometer();
Potentiometer(uint16_t _pin);
~Potentiometer();
void Set_Pin(uint16_t _pin);
void Set_Pin_Mode();
uint16_t Get_Pin();
void Read_Potentiometer();
int Get_Reading();
private:
uint16_t pin;
int pot_val;
};
#endif