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

temperature.h

Committer:
bertgereels
Date:
2018-02-26
Revision:
0:88d3b9015f7c
Child:
2:6bfe732ba6bc

File content as of revision 0:88d3b9015f7c:

#pragma once
#include "LM75B.h"
#include "mbed.h"

namespace ProjectOne{
    
    class Temperature{
        public:
            //LM75B sensor(p28,p27);
            Temperature(PinName firstPin=p28, PinName secondPin=p27);
            float readTemperature(void);
        private:
            LM75B sensor;
    };
};