Update Sensor info menu documentation
This commit is contained in:
parent
bdfd3305cb
commit
c5c4c21124
|
|
@ -3454,26 +3454,22 @@ static void lcd_show_sensors_state()
|
||||||
#endif //FILAMENT_SENSOR
|
#endif //FILAMENT_SENSOR
|
||||||
|
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
// Display X and Y difference from Filament sensor
|
// Display X and Y difference from Filament sensor
|
||||||
// Display Light intensity from Filament sensor
|
// Display Light intensity from Filament sensor
|
||||||
// Frame_Avg register represents the average brightness of all pixels within a frame (324 pixels). This
|
// Frame_Avg register represents the average brightness of all pixels within a frame (324 pixels). This
|
||||||
// value ranges from 0(darkest) to 255(brightest).
|
// value ranges from 0(darkest) to 255(brightest).
|
||||||
// Display LASER shutter time from Filament sensor
|
// Display LASER shutter time from Filament sensor
|
||||||
// Shutter register is an index of LASER shutter time. It is automatically controlled by the chip's internal
|
// Shutter register is an index of LASER shutter time. It is automatically controlled by the chip's internal
|
||||||
// auto-exposure algorithm. When the chip is tracking on a good reflection surface, the Shutter is small.
|
// auto-exposure algorithm. When the chip is tracking on a reflective surface, the Shutter is small.
|
||||||
// When the chip is tracking on a poor reflection surface, the Shutter is large. Value ranges from 0 to 46.
|
// When the chip is tracking on a surface that absorbs IR (or doesn't reflect it), the Shutter is large.
|
||||||
if (mmu_enabled == false)
|
// The maximum value of the shutter is 17. The value of 16 seems to be reported as 17 even though the
|
||||||
{
|
// Brightness value changes correctly as if the shutter changed to 16 (probably some bug with the sensor).
|
||||||
// pat9125_update is already called while printing: only update manually when idling
|
// The shutter algorithm tries to keep the B value in the 70-110 range.
|
||||||
if (!moves_planned() && !IS_SD_PRINTING && !usb_timer.running() && (lcd_commands_type != LcdCommands::Layer1Cal))
|
lcd_set_cursor(0, 2);
|
||||||
pat9125_update();
|
lcd_printf_P(_N("B: %3d Xd:%6d\n"
|
||||||
|
"S: %3d Yd:%6d"),
|
||||||
lcd_set_cursor(0, 2);
|
pat9125_b, pat9125_x,
|
||||||
lcd_printf_P(_N(" Int: %3d Xd:%6d\n"
|
pat9125_s, pat9125_y);
|
||||||
"Shut: %3d Yd:%6d"),
|
|
||||||
pat9125_b, pat9125_x,
|
|
||||||
pat9125_s, pat9125_y);
|
|
||||||
}
|
|
||||||
#endif //PAT9125
|
#endif //PAT9125
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue