Circuitpython serial write. console is None if disabled.