Changelog
All notable changes to nxt-rs. The project follows semantic versioning.
0.2.0
Added
- Drawing on the display. See The display.
Brick::show_textclears the LCD and prints text: 8 lines of 16 characters in a built-in 5×7 pixel font.Brick::show_imageclears the LCD and shows an image.Brick::set_screenwrites a wholeScreento the LCD, andBrick::clear_screenblanks it.Screencan now be edited:Screen::blank,Screen::from_text,set_pixel,clear,draw_textanddraw_image.- New
display::Imagetype, a black and white picture of any size, built from a PBM file (Image::from_pbm,P1andP4), 8-bit grayscale pixels (Image::from_luma, orImage::from_luma_ditheredfor photos) or a function (Image::from_fn). - New constants
CHAR_WIDTH,CHAR_HEIGHT,TEXT_COLUMNSandTEXT_LINESdescribe the text grid.
- A
displayexample that draws text and an image (or a PBM file given on the command line).
0.1.0
The first release: both API tiers (every Direct and System command, and the high-level motors, sensors, files, messaging and screenshots), USB, Bluetooth and serial transports, and the simulated brick.