kubtss / Mbed 2 deprecated BIRD2017

Dependencies:   mbed-rtos mbed

Control/Controller/Controller.h

Committer:
shimogamo
Date:
2016-05-30
Revision:
20:6fbf1f50abda

File content as of revision 20:6fbf1f50abda:

#ifndef _INC_Controller
#define _INC_Controller
#include "mbed.h"


class Controller {   
    AnalogIn controller;
    bool isInversed;
    
public:
    Controller(PinName p);
    void inverse();
    float read();
};

#endif