mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
Instruct define NUMSAMPLES 3
This commit is contained in:
@@ -71,7 +71,12 @@ void showpoint(void)
|
|||||||
// ************************************
|
// ************************************
|
||||||
|
|
||||||
// Declare which fonts we will be using
|
// Declare which fonts we will be using
|
||||||
extern uint8_t SmallFont[];
|
#if defined(SmallFont) //.kbv new GLUE defines FreeSmallFont
|
||||||
|
#undef SmallFont //.kbv lose it
|
||||||
|
#define SmallFont NULL //.kbv use System Font
|
||||||
|
#else
|
||||||
|
extern uint8_t SmallFont[]; //.kbv
|
||||||
|
#endif
|
||||||
|
|
||||||
uint32_t cx, cy;
|
uint32_t cx, cy;
|
||||||
uint32_t rx[8], ry[8];
|
uint32_t rx[8], ry[8];
|
||||||
@@ -201,6 +206,7 @@ void startup()
|
|||||||
myGLCD.print(TITLE, CENTER, 1);
|
myGLCD.print(TITLE, CENTER, 1);
|
||||||
myGLCD.setBackColor(0, 0, 0);
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
|
||||||
|
myGLCD.print("#define NUMSAMPLES 3 in Library", LEFT, 18);
|
||||||
myGLCD.print("Use a stylus or something", LEFT, 30);
|
myGLCD.print("Use a stylus or something", LEFT, 30);
|
||||||
myGLCD.print("similar to touch as close", LEFT, 42);
|
myGLCD.print("similar to touch as close", LEFT, 42);
|
||||||
myGLCD.print("to the center of the", LEFT, 54);
|
myGLCD.print("to the center of the", LEFT, 54);
|
||||||
|
|||||||
Reference in New Issue
Block a user