|
@@ -129,12 +129,15 @@ if(ARDUINO_LOOP_LATENCY_COUNTER__MAIN_END(ARDUINO_LOOP_LATENCY__MAIN_END_A, ARDU
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
- //debug analpir
|
|
|
|
|
- DISPLAY_DEV.fillRect( 0, ( DISPLAY_CURSOR_Y_CHARS_DEBUG * DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A ) , DISPLAY_PHYSICAL_CHAR_A.DISPLAY_PHYSICAL_X_PX_A , DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A , RED );
|
|
|
|
|
- DISPLAY_DEV.setCursor(0 , DISPLAY_CURSOR_Y_CHARS_DEBUG * DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A );
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- DISPLAY_DEV.print("P:"); DISPLAY_DEV.print(PortA7); DISPLAY_DEV.print(" "); DISPLAY_DEV.print(analogRead(PortA7));
|
|
|
|
|
|
|
+ if(DISPLAY_LATENCY_PASS__POP(time,time + ARDUINO_LOOP_LATENCY_DISPLAY_MENU )) {
|
|
|
|
|
+ //debug analpir
|
|
|
|
|
+ DISPLAY_DEV.fillRect( 0, ( DISPLAY_CURSOR_Y_CHARS_DEBUG * DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A ) , DISPLAY_PHYSICAL_CHAR_A.DISPLAY_PHYSICAL_X_PX_A , DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A , RED );
|
|
|
|
|
+ DISPLAY_DEV.setCursor(0 , DISPLAY_CURSOR_Y_CHARS_DEBUG * DISPLAY_PHYSICAL_CHAR_A.DISPLAY_textsize_y_A );
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ DISPLAY_DEV.print("P:"); DISPLAY_DEV.print(PortA7); DISPLAY_DEV.print(" "); DISPLAY_DEV.print(analogRead(PortA7));
|
|
|
|
|
+ }
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#else
|
|
#else
|