Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.
Dependencies: C12832 LM75B mbed EthernetInterface mbed-rtos
Diff: potentiometer.h
- Revision:
- 1:b5c534165dfe
- Parent:
- 0:88d3b9015f7c
- Child:
- 2:6bfe732ba6bc
--- a/potentiometer.h Mon Feb 26 11:25:59 2018 +0000 +++ b/potentiometer.h Wed Mar 14 07:59:21 2018 +0000 @@ -6,7 +6,7 @@ class Potentiometer{ public: Potentiometer(PinName analogPin=p19); - int getPotValue(void); + float getPotValue(void); private: AnalogIn pot1; };