![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
potentiometer.cpp
- Committer:
- bertgereels
- Date:
- 2018-02-26
- Revision:
- 0:88d3b9015f7c
- Child:
- 1:b5c534165dfe
File content as of revision 0:88d3b9015f7c:
#include "potentiometer.h" namespace ProjectOne{ Potentiometer::Potentiometer(PinName analogPin) : pot1(analogPin){ } int Potentiometer::getPotValue(void){ return pot1.read_u16(); } }