feat: More analog diagnostics screens on B&W colorlcd (#1421)
* Show true unscaled and unfiltered analogs for diagnose purpose on the analog diagnose screen. Tested on physical RM TX16S, not yet tested on B/W targets. * Changed to decimal display also on B/W targets. Tested now with RM Zorro as well. * 5 fps refresh rate of the raw analog values. Much nicer to look at. * Time-changing 3 views for color radios: std., filtered raw with deviation, unfiltered raw. * Corrected deviation view output to not use old values. * Changed analogs diagnose page to user navigatable TabsGroup with 3 tabs. * Added fourth analog diagnose tab to show minimum and maximum values and the range (difference between min and max). Left touch screen and IMU output tests only on first page (should also move in the future to their respective dedicated pages). * Use Std. JitterAlpha filtering for Deviation screen to minimize delay, omit filtering for FlySky digital hall gimbals - not necessary, the signal is stable enough. * 2 analog diagnose pages for 128x64 B/W radios: calibrated analogs and raw values with display output limited to 5 frames-per-second due to visibility reasons. * Added 2 analogs diagnose pages also for 212x64 display B/W radios. I was only able to simulate it, not tested on real hardware. * Support also radios that do not have PageUp/PageDn keys, but only Page key (e.g. X7). * Better key handling and improved style thx to @pfeerick
This commit is contained in:
@@ -250,6 +250,8 @@ const char STR_MENUSPECIALFUNCS[] = TR_MENUSPECIALFUNCS;
|
||||
const char STR_MENUVERSION[] = TR_MENUVERSION;
|
||||
const char STR_MENU_RADIO_SWITCHES[] = TR_MENU_RADIO_SWITCHES;
|
||||
const char STR_MENU_RADIO_ANALOGS[] = TR_MENU_RADIO_ANALOGS;
|
||||
const char STR_MENU_RADIO_ANALOGS_CALIB[] = TR_MENU_RADIO_ANALOGS_CALIB;
|
||||
const char STR_MENU_RADIO_ANALOGS_RAWLOWFPS[] = TR_MENU_RADIO_ANALOGS_RAWLOWFPS;
|
||||
const char STR_MENUCALIBRATION[] = TR_MENUCALIBRATION;
|
||||
const char STR_MENUMODELSEL[] = TR_MENUMODELSEL;
|
||||
const char STR_MENU_MODEL_SETUP[] = TR_MENU_MODEL_SETUP;
|
||||
@@ -313,6 +315,11 @@ const char STR_DISABLE_INTERNAL[] = TR_DISABLE_INTERNAL;
|
||||
const char STR_AND_SWITCH[] = TR_AND_SWITCH;
|
||||
const char STR_SF[] = TR_SF;
|
||||
const char STR_GF[] = TR_GF;
|
||||
const char STR_ANADIAGS_CALIB[] = TR_ANADIAGS_CALIB;
|
||||
const char STR_ANADIAGS_FILTRAWDEV[] = TR_ANADIAGS_FILTRAWDEV;
|
||||
const char STR_ANADIAGS_UNFILTRAW[] = TR_ANADIAGS_UNFILTRAW;
|
||||
const char STR_ANADIAGS_MINMAX[] = TR_ANADIAGS_MINMAX;
|
||||
const char STR_ANADIAGS_MOVE[] = TR_ANADIAGS_MOVE;
|
||||
const char STR_BATT_CALIB[] = TR_BATT_CALIB;
|
||||
const char STR_VOLTAGE[] = TR_VOLTAGE;
|
||||
const char STR_CURRENT_CALIB[] = TR_CURRENT_CALIB;
|
||||
|
||||
Reference in New Issue
Block a user