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

selection.h

Committer:
bertgereels
Date:
2018-03-14
Revision:
1:b5c534165dfe
Child:
2:6bfe732ba6bc

File content as of revision 1:b5c534165dfe:

#include <string>
#include "mbed.h"

#pragma once

namespace ProjectOne{
    
    class Selection{
        public:
            Selection(PinName Center=p14, PinName Up=p15, PinName Down=p12, PinName Left=p13, PinName Right=p16);
            string determineMode(void);
            int determineId(void);
        
        private:
            BusIn joy;
    };
};