![](/media/cache/group/Display_Nokia_Insper_v01.jpg.50x50_q85.jpg)
Testando função Touch Display TFT
Dependencies: mbed TouchScreen_kbv_mbed MCUFRIEND_kbv_R299 GLUE_STUFF_kbv 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