change debug print to display dynamic range

This commit is contained in:
interfisch 2018-05-02 11:05:19 +02:00
parent 8742a0e5c6
commit fed0957650
1 changed files with 19 additions and 2 deletions

View File

@ -1399,11 +1399,28 @@ void updateDisplay_Lightmeter() //Lightmeter display
display.print(" : ");
display.print(debug_analog_high);*/
display.print(ev_min,1);
/*display.print(ev_min,1);
display.print("<");
display.print(ev,1);
display.print("<");
display.print(ev_max,1);
display.print(ev_max,1);*/
display.setCursor(xpos_debug+50,ypos_debug-5);
if (ev_min>-254) { //ev min set
display.print("-");
display.print(ev-ev_min,1);
}else{
display.print("/");
}
display.print(" <> ");
if (ev_max>-254){
display.print("+");
display.print(ev_max-ev,1);
}else{
display.print("/");
}
}