Basic flash memory functionality.
Untested PID algorithm.