![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TFT_Touch_Menu_Encoder
Dependencies: mbed TouchScreen_kbv_mbed MCUFRIEND_kbv_R299 GLUE_STUFF_kbv EncoderAli ADA_GFX_kbv_R1107
main_glue.cpp
- Committer:
- davidprentice
- Date:
- 2021-04-27
- Revision:
- 0:063c3eaefd81
File content as of revision 0:063c3eaefd81:
#if 1 #include "Arduino.h" #include "HardwareSerial.h" //#include "readpixel_kbv.inc" //#include "graphictest_kbv.inc" HardwareSerial serial_kbv(USBTX, USBRX); uint32_t millis(void) { static Timer t; static int first = 1; if (first) first = 0, t.start(); return t.read_ms(); } uint32_t micros(void) { static Timer t; static int first = 1; if (first) first = 0, t.start(); return t.read_us(); } int main(void) { setup(); while (1) { loop(); } return 0; //never happens } #endif