Basis of functionality (needs flashing, capacitance and set touch) 15:45 wed
Dependencies: mbed
Revision 0:4d558fb3be50, committed 2017-05-24
- Comitter:
- Owenmatthewmcgowan
- Date:
- Wed May 24 14:46:40 2017 +0000
- Commit message:
- Basis functionality for touch in settings page,. boundaries 15:45 wed
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 4d558fb3be50 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed May 24 14:46:40 2017 +0000 @@ -0,0 +1,66 @@ +#include "mbed.h" +#include "string" +#include "Arial12x12.h" +#include "Arial24x23.h" +#include "Arial28x28.h" +#include "font_big.h" +#include "stdio.h" + +#include "SPI_TFT_ILI9341.h" + + +void alarmtouch_Hour() + if (60<=xp<=140 && 30<=yp<=100) { + //flashing hour black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} + +void alarmtouch_Min() + if (230<=xp<=310 && 30<=yp<=100) { + //flashing Min black/white + //changable state w/capacitance + //cease w/set button (interrupt/flag?) + +} + +void timetouch_Hour() + if (60<=xp<=140 && 130<=yp<=190) { + //flashing hour black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} + +void timetouch_Min() + if (230<=xp<=310 && 130<=yp<=190) { + //flashing min black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} + +void datetouch_day() + if (60<=xp<=110 && 200<=yp<=240) { + //flashing day black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} + +void datetouch_month() + if (120<=xp<=180 && 200<=yp<=240) { + //flashing month black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} + +void datetouch_year() + if (190<=xp<=320 && 200<=yp<=240) { + //flashing year black/white + //changable state w/capacitance + //cease w/set button (interrup/flag?) + +} \ No newline at end of file
diff -r 000000000000 -r 4d558fb3be50 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed May 24 14:46:40 2017 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/mbed/builds/4eea097334d6 \ No newline at end of file