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.h

Committer:
bertgereels
Date:
2018-03-14
Revision:
1:b5c534165dfe
Parent:
0:88d3b9015f7c
Child:
2:6bfe732ba6bc

File content as of revision 1:b5c534165dfe:

#include "mbed.h"
#pragma once

namespace ProjectOne{
        
        class Potentiometer{
            public:
                Potentiometer(PinName analogPin=p19);
                float getPotValue(void);
            private:
                AnalogIn pot1;
        };
};