// 191122 - Updated debug command to log if lsb is set. // 191219 - Corrected luminance range from 12 to 16 fL to 11 to 17 fL in default script. hh // 191220 - Improvements to AV Sync. Changed title of log page to QSC LSS Log. Updated coyright date to 2020 on all web pages. hh // 200211 - Removed all time zone info in LSS and changed javascript code to determine local times. hh // 200323 - Removed time zone correction in chart since toLocaleDateString() already does time zone offset. hh // 200401 - Revised default scripts to add commands to IR panel to turn off IR during light measurements. hh // 200402 - Further revision of default scripts. hh // 200403 - Further revisions to default scripts. hh // 200413 - Changed format string for state in PhotoScript logging from hx to x. hh // 200415 - Removed precision in value in CSV log so full precision is used. hh // 200430 - Moved false start bit detection to earlier in bit in PhotoScriptStart. Was causing some starts to be abandoned. hh // 200501 - Revised HTTPPrint_LogCsv() to not quit on erased flash. Revised HTTPPrint_LogCgi() touse NextLogRecord(). hh // 200505 - Made Hysteresis a constant in PhotoScriptStart.c so it can be easily adjusted. Added SetWhiteThreshold butto sot script config page. hh // 200506 - Added MarkSpaceThreshSet that calculates photo script start mark and space thresholds based on ScriptStartWhite and Hysteresis. hh // 200507 - Returned hysteresis to 0.5 which causes scripts to be missed 1.6% of the time. // 200508 - Use visible sensor instead of RGB/XYZ if BoardRev>=J (model = LSS-200) for photo script start. T hh // 200515 - Revise SPL sampling in main() to average last 128 samples for average of last 5.376 seconds. Older samples are thrown out. Applies to LSS-100P and LSS-200 which // have DSP. Does not apply to LSS-100 (analog SPL measurement) hh // 200526 - Fixed Stabel30 in home page sound table which was preventing last sound field to copy current data. hh