Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem
Fork of EALib by
Revision 5:3290d7b766d5, committed 2013-10-18
- Comitter:
- embeddedartists
- Date:
- Fri Oct 18 10:57:50 2013 +0000
- Parent:
- 4:b32cf4ef45c5
- Child:
- 6:405c6e5a4eaf
- Commit message:
- Corrected compiler warnings
Changed in this revision
| AR1021.h | Show annotated file Show diff for this revision Revisions of this file |
| TSC2046.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/AR1021.h Fri Oct 18 12:48:58 2013 +0200
+++ b/AR1021.h Fri Oct 18 10:57:50 2013 +0000
@@ -28,11 +28,11 @@
AR1021(PinName mosi, PinName miso, PinName sck, PinName cs, PinName siq);
- bool init(uint16_t width, uint16_t height);
- bool read(touchCoordinate_t &coord);
- bool calibrateStart();
- bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
- bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
+ virtual bool init(uint16_t width, uint16_t height);
+ virtual bool read(touchCoordinate_t &coord);
+ virtual bool calibrateStart();
+ virtual bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
+ virtual bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
private:
--- a/TSC2046.h Fri Oct 18 12:48:58 2013 +0200
+++ b/TSC2046.h Fri Oct 18 10:57:50 2013 +0000
@@ -23,12 +23,12 @@
*/
TSC2046(PinName mosi, PinName miso, PinName sck, PinName cs);
- bool init(uint16_t width, uint16_t height);
+ virtual bool init(uint16_t width, uint16_t height);
- bool read(touchCoordinate_t &coord);
- bool calibrateStart();
- bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
- bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
+ virtual bool read(touchCoordinate_t &coord);
+ virtual bool calibrateStart();
+ virtual bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
+ virtual bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
/**
* Calibrate the touch panel with already gathered calibration values.
