sqefqsdf

Dependencies:   C12832 EthernetInterface LM75B mbed-rtos mbed

Fork of app-board-LM75B by Chris Styles

Committer:
gimohd
Date:
Thu Mar 23 12:51:27 2017 +0000
Revision:
6:77a4c45f6416
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gimohd 6:77a4c45f6416 1 #ifndef Potentiometer_H
gimohd 6:77a4c45f6416 2 #define Potentiometer_H
gimohd 6:77a4c45f6416 3
gimohd 6:77a4c45f6416 4 #include "mbed.h"
gimohd 6:77a4c45f6416 5 //Class to control an RGB LED using three PWM pins
gimohd 6:77a4c45f6416 6 class Potentiometer: AnalogIn
gimohd 6:77a4c45f6416 7 {
gimohd 6:77a4c45f6416 8 public:
gimohd 6:77a4c45f6416 9 Potentiometer(PinName pin);
gimohd 6:77a4c45f6416 10 uint8_t readValue();
gimohd 6:77a4c45f6416 11 private:
gimohd 6:77a4c45f6416 12 };
gimohd 6:77a4c45f6416 13
gimohd 6:77a4c45f6416 14 #endif