@@ -179,3 +179,20 @@ void DISPLAY__print_IMMEDIATE(
}
+void DISPLAY__CURSOR_Y_CHARS__SET(DISPLAY_PHYSICAL_CHAR_T &DISPLAY_PHYSICAL_CHAR_A,
+ DISPLAY_CURSOR_Y_CHARS_T DISPLAY_CURSOR_Y_CHARS_A
+ ) {
+
+ #if defined(HAS_TFT_ILI9163C)
+ DISPLAY_DEV__CURSOR_Y_CHARS__SET(
+ DISPLAY_PHYSICAL_CHAR_A,
+ DISPLAY_CURSOR_Y_CHARS_A
+ );
+ #endif
+ }
@@ -76,4 +76,8 @@ typedef struct DISPLAY_S DISPLAY_T ;
typedef struct ARDUINO_ARRAY_INDEX_TABLE_S DISPLAY_ARDUINO_ARRAY_INDEX_TABLE_T ; //DEFAULT INDEX TABLE
typedef struct ARDUINO_ARRAY_INDEX_T_TO_DELETE_S DISPLAY_ARDUINO_ARRAY_INDEX_T_TO_DELETE_T;
- typedef ARDUINO_FUNCT_INIT_RESULT_T ARDUINO_FUNCT_INIT_RESULT_Slave_Ports_queue__add_DISPLAY_T ;
+ typedef ARDUINO_FUNCT_INIT_RESULT_T ARDUINO_FUNCT_INIT_RESULT_Slave_Ports_queue__add_DISPLAY_T ;
+ const DISPLAY_CURSOR_Y_CHARS_T DISPLAY_CURSOR_Y_CHARS_DEBUG = 8 ; //todo 10 linia do debugu??
@@ -7,8 +7,11 @@
Adafruit_PWMServoDriver_0X40.setPWM(2, encoderPos * 5, encoderPos * 50);
+DISPLAY__CURSOR_Y_CHARS__SET(DISPLAY_PHYSICAL_CHAR_A,
+ DISPLAY_CURSOR_Y_CHARS_DEBUG);
- DISPLAY__print(
+ DISPLAY__print(
DISPLAY_A ,
DISPLAY_T_ARDUINO_ATTR_ARRAY_A ,
DISPLAY_PHYSICAL_CHAR_A,