Since MicroPython builds under stricter conditions, this change should help minimise pitfalls when writing/binding drivers.
* Switch to using AutoRepeat class to debounce buttons * Read TOF sensor non-blocking to avoid stalling input * Drop dead code * Make mode_to_text const * "Hold" text shows red when held