USBMouse

Dependencies:   USBDevice mbed

Committer:
priyankapashte
Date:
Sun Dec 13 10:06:24 2015 +0000
Revision:
0:e062501cfe81
USBDevice library modified

Who changed what in which revision?

UserRevisionLine numberNew contents of line
priyankapashte 0:e062501cfe81 1 #include "mbed.h"
priyankapashte 0:e062501cfe81 2
priyankapashte 0:e062501cfe81 3 class TouchSensor {
priyankapashte 0:e062501cfe81 4 public:
priyankapashte 0:e062501cfe81 5 TouchSensor(); // Initialize Touch Sensor
priyankapashte 0:e062501cfe81 6 float readPercentage(); // Read Touch values in terms of percentage
priyankapashte 0:e062501cfe81 7
priyankapashte 0:e062501cfe81 8 private:
priyankapashte 0:e062501cfe81 9 void sliderRead(void);
priyankapashte 0:e062501cfe81 10 uint16_t readValue(uint8_t);
priyankapashte 0:e062501cfe81 11 void selfCalibration(void);
priyankapashte 0:e062501cfe81 12 };
priyankapashte 0:e062501cfe81 13