kubtss / Mbed 2 deprecated BIRD2017

Dependencies:   mbed-rtos mbed

Committer:
shimogamo
Date:
Mon May 30 07:19:34 2016 +0000
Revision:
20:6fbf1f50abda
Servo??????????, Joystick???

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shimogamo 20:6fbf1f50abda 1 #ifndef _INC_Controller
shimogamo 20:6fbf1f50abda 2 #define _INC_Controller
shimogamo 20:6fbf1f50abda 3 #include "mbed.h"
shimogamo 20:6fbf1f50abda 4
shimogamo 20:6fbf1f50abda 5
shimogamo 20:6fbf1f50abda 6 class Controller {
shimogamo 20:6fbf1f50abda 7 AnalogIn controller;
shimogamo 20:6fbf1f50abda 8 bool isInversed;
shimogamo 20:6fbf1f50abda 9
shimogamo 20:6fbf1f50abda 10 public:
shimogamo 20:6fbf1f50abda 11 Controller(PinName p);
shimogamo 20:6fbf1f50abda 12 void inverse();
shimogamo 20:6fbf1f50abda 13 float read();
shimogamo 20:6fbf1f50abda 14 };
shimogamo 20:6fbf1f50abda 15
shimogamo 20:6fbf1f50abda 16 #endif