Version 0.0.7 - Alpha
What's Changed
text_length
has been replaced by measure()
in both C++ and MicroPython.
_reset()
and tick()
have been removed from MicroPython.
C++
- New text API
text_length
replaced withmeasure(text, &w, &h)
- Text can optionally set pen colour while displaying, use escape sequences
\rgbXXX
and\rgbaXXXX
in your string to set the colour.
MicroPython
- All "state" API functions now reset to default when called with 0 args
- Removed
_reset()
andtick()
in favour ofquit()
andstart()
. To implement your own main loop useflip()
maybe? - Added
flip()
for flipping REPL experiments to the screen. - New
help()
text. - General tidyup of bindings.
- Text can optionally set pen colour, use escape sequences
\\rgbXXX
and\\rgbaXXXX
to set the colour.pen(0xF, 0xF, 0xF) text("I can make a word \\rgbF00red\\rgbFFF just like that!")
Full Changelog: v0.0.6...v0.0.7