As a part of this, drop os/log.h. Also add documentation for this.
import utime from hwconfig import LED, BUTTON # Light LED when (and while) a BUTTON is pressed while 1: LED.value(BUTTON.value()) # Don't burn CPU utime.sleep_ms(10)