![]() Otherwise the foreground color defaults to WHITE and the background colorĭefaults to BLACK. ![]() The foreground andīackground colors of the text can be set by the optional arguments fg and bg, Write text to the display using the specified bitmap font with theĬoordinates as the upper-left corner of the text. Note: every color requires 2 bytes in the array ILI9342C.blit_buffer(buffer, x, y, width, height)Ĭopy bytes() or bytearray() content to the screen internal memory. ILI9342C.fill_rect(x, y, width, height, color)įill a rectangle starting from ( x, y) coordinates ILI9342C.rect(x, y, width, height, color)ĭraws a rectangle from ( x, y) with corresponding dimensions Along with vline, this is a fast version with reduced Set the specified pixel to the given color.ĭraws a single line with the provided color from ( x0, y0) toĭraws a single horizontal line with the provided color and length This driver supports only 16bit colors in RGB565 notation.įill the entire display with the specified color. If buffer_size is specified it must be large enough to contain the largestīitmap and/or JPG used (Rows * Columns *2 bytes). `buffer_size` 0= buffer dynamically allocated and freed as needed. ![]() Instruction for building MicroPython and ensure that you can build theĬlone this module alongside the MPY sources: Prepare build tools as described in the manual. This is a driver for MicroPython to handle displays based on the ILI9342C chip. for finding the correct offsets for a 240x240ĭisplay and discovering issues compiling for STM32 based boards.for letting me know of the new mp_raise_ValueError().for the original driver this is based on. ![]() The firmware directory contains MicroPython v1.16 firmware.bin files with the ILI9342C C driver and frozen python font files compiled with ESP-IDF 4.2 using the CMake build system. Hershey vector fonts and several example programs that run on the M5Stack Core. Included are 12 bitmap fonts derived from classic pc text mode fonts, 26 ![]() Using the TJpgDec - Tiny JPEG Decompressor R0.01d.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |