Skip to content

Version 0.0.7 - Alpha

Compare
Choose a tag to compare
@Gadgetoid Gadgetoid released this 21 Oct 22:37
· 138 commits to main since this release
c4a2271

What's Changed

⚠️ This version introduces a new text API, 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 with measure(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() and tick() in favour of quit() and start(). To implement your own main loop use flip() 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