DeskControl/doc/testscript.md
Mark van Renswoude 7ec4fa3394 Changed measurements to be async to keep handling button presses
Implemented calibration screen
Implemented pre-move stabilization
Had to remove the nice font to save on program space :-(
2020-02-01 16:55:33 +01:00

817 B

Testscript

As I really do not want to explain to my employer how I broke my desk, this document describes the intended behaviour of the software in various scenarios, focusing on the safety guards.

Startup

  1. Height sensor must report at least 3 values within 10mm of each other to be considered stable.
  2. If the EEPROM has not been initialized yet, the height offset setup screen must be displayed.
  3. Otherwise, the home screen must be displayed.

Home

Moving

  1. If the height sensor does not report a valid value for 100ms the move must be aborted and the move error screen shown.

Move error screen

  1. This screen can only be closed if the height sensor is considered stable, as described in the startup sequence.
  2. Pressing any button will close this screen and return to the Home screen.