efc761cfbb
This fixes warnings like: ``` mui.c:303:5: warning: no previous prototype for 'mui_find_uif' [-Wmissing-prototypes] 303 | int mui_find_uif(mui_t *ui, uint8_t id0, uint8_t id1) | ^~~~~~~~~~~~ mui.c:463:8: warning: no previous prototype for 'mui_find_form' [-Wmissing-prototypes] 463 | fds_t *mui_find_form(mui_t *ui, uint8_t n) | ^~~~~~~~~~~~~ mui.c:490:9: warning: no previous prototype for 'mui_task_draw' [-Wmissing-prototypes] 490 | uint8_t mui_task_draw(mui_t *ui) | ^~~~~~~~~~~~~ mui.c:497:9: warning: no previous prototype for 'mui_task_form_start' [-Wmissing-prototypes] 497 | uint8_t mui_task_form_start(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~ mui.c:503:9: warning: no previous prototype for 'mui_task_form_end' [-Wmissing-prototypes] 503 | uint8_t mui_task_form_end(mui_t *ui) | ^~~~~~~~~~~~~~~~~ mui.c:519:9: warning: no previous prototype for 'mui_task_find_prev_cursor_uif' [-Wmissing-prototypes] 519 | uint8_t mui_task_find_prev_cursor_uif(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:534:9: warning: no previous prototype for 'mui_task_find_first_cursor_uif' [-Wmissing-prototypes] 534 | uint8_t mui_task_find_first_cursor_uif(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:548:9: warning: no previous prototype for 'mui_task_find_last_cursor_uif' [-Wmissing-prototypes] 548 | uint8_t mui_task_find_last_cursor_uif(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:559:9: warning: no previous prototype for 'mui_task_find_next_cursor_uif' [-Wmissing-prototypes] 559 | uint8_t mui_task_find_next_cursor_uif(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:578:9: warning: no previous prototype for 'mui_task_get_current_cursor_focus_position' [-Wmissing-prototypes] 578 | uint8_t mui_task_get_current_cursor_focus_position(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:590:9: warning: no previous prototype for 'mui_task_read_nth_selectable_field' [-Wmissing-prototypes] 590 | uint8_t mui_task_read_nth_selectable_field(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:602:9: warning: no previous prototype for 'mui_task_find_execute_on_select_field' [-Wmissing-prototypes] 602 | uint8_t mui_task_find_execute_on_select_field(mui_t *ui) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mui.c:654:6: warning: no previous prototype for 'mui_next_field' [-Wmissing-prototypes] 654 | void mui_next_field(mui_t *ui) ``` |
||
---|---|---|
cppsrc | ||
csrc | ||
doc | ||
pkg | ||
sys | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.gitpod.Dockerfile | ||
.gitpod.yml | ||
CMakeLists.txt | ||
ChangeLog | ||
LICENSE | ||
README.md | ||
SConscript | ||
component.mk |
README.md
U8g2: Library for monochrome displays, version 2
U8g2 is a monochrome graphics library for embedded devices. U8g2 supports monochrome OLEDs and LCDs, which include the following controllers: SSD1305, SSD1306, SSD1309, SSD1312, SSD1316, SSD1318, SSD1320, SSD1322, SSD1325, SSD1327, SSD1329, SSD1606, SSD1607, SH1106, SH1107, SH1108, SH1122, T6963, RA8835, LC7981, PCD8544, PCF8812, HX1230, UC1601, UC1604, UC1608, UC1610, UC1611, UC1617, UC1638, UC1701, ST7511, ST7528, ST7565, ST7567, ST7571, ST7586, ST7588, ST75160, ST75256, ST75320, NT7534, ST7920, IST3020, IST3088, IST7920, LD7032, KS0108, KS0713, HD44102, T7932, SED1520, SBN1661, IL3820, MAX7219, GP1287, GP1247, GU800 (see here for a full list).
The Arduino library U8g2 can be installed from the library manager of the Arduino IDE. U8g2 also includes U8x8 library:
- U8g2
- Includes all graphics procedures (line/box/circle draw).
- Supports many fonts. (Almost) no restriction on the font height.
- Requires some memory in the microcontroller to render the display.
- U8x8
- Text output only (character) device.
- Only fonts allowed with fit into a 8x8 pixel grid.
- Writes directly to the display. No buffer in the microcontroller required.