Basis of functionality (needs flashing, capacitance and set touch) 15:45 wed
Dependencies: mbed
main.cpp
- Committer:
- Owenmatthewmcgowan
- Date:
- 2017-05-24
- Revision:
- 0:4d558fb3be50
File content as of revision 0:4d558fb3be50:
#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?) }