Skip to content

Commit

Permalink
Added u8g2 Library
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jun 24, 2024
1 parent 963baf2 commit b788558
Show file tree
Hide file tree
Showing 164 changed files with 382,671 additions and 284,901 deletions.
15 changes: 5 additions & 10 deletions lib/U8g2/LICENSE
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@

The U8g2lib code (http://code.google.com/p/u8g2/ and
https://github.com/olikraus/U8g2_Arduino) is licensed under the terms of
The U8g2lib code (http://code.google.com/p/u8g2/) is licensed under the terms of
the new-bsd license (two-clause bsd license).
See also: http://www.opensource.org/licenses/bsd-license.php

The repository and optionally the releases contain icons, which are
derived from the WPZOOM Developer Icon Set:
http://www.wpzoom.com/wpzoom/new-freebie-wpzoom-developer-icon-set-154-free-icons/
WPZOOM Developer Icon Set by WPZOOM is licensed under a Creative Commons
Attribution-ShareAlike 3.0 Unported License.

Fonts are licensed under different conditions.
See
https://github.com/olikraus/u8g2/wiki/fntgrp
for detailed information on the licensing conditions for each font.

The example code in sys/raspi_gpio/hal will use the bcm2835 lib from Mike McCauley
which is licensed under GPL V3: http://www.airspayce.com/mikem/bcm2835/

============ X11 Fonts COUR, HELV, NCEN, TIM, SYMB ============

For fonts derived from the following files, the license below applies.
Expand Down Expand Up @@ -52,8 +48,7 @@ is" without express or implied warranty.

============ BSD License for U8g2lib Code ============

Universal 8bit Graphics Library (http://code.google.com/p/u8g2/ and
https://github.com/olikraus/U8g2_Arduino)
Universal 8bit Graphics Library (http://code.google.com/p/u8g2/)

Copyright (c) 2016, [email protected]
All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion lib/U8g2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Description: https://github.com/olikraus/u8g2/wiki

Issue Tracker: https://github.com/olikraus/u8g2/issues

Download (2.26.14): https://github.com/olikraus/U8g2_Arduino/archive/master.zip
Download (2.34.17): https://github.com/olikraus/U8g2_Arduino/archive/master.zip

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/FPS/FPS.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/FontUsage/FontUsage.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/GraphicsTest/GraphicsTest.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/HelloWorld/HelloWorld.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/IconMenu/IconMenu.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/PrintUTF8/PrintUTF8.ino

Large diffs are not rendered by default.

380 changes: 380 additions & 0 deletions lib/U8g2/examples/full_buffer/ScreenShot/ScreenShot.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/SelectionList/SelectionList.ino

Large diffs are not rendered by default.

113 changes: 107 additions & 6 deletions lib/U8g2/examples/full_buffer/Shennong/Shennong.ino

Large diffs are not rendered by default.

111 changes: 106 additions & 5 deletions lib/U8g2/examples/full_buffer/U8g2Logo/U8g2Logo.ino

Large diffs are not rendered by default.

113 changes: 107 additions & 6 deletions lib/U8g2/examples/full_buffer/UpdateArea/UpdateArea.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/full_buffer/Weather/Weather.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/games/SpaceTrash/SpaceTrash.ino

Large diffs are not rendered by default.

427 changes: 427 additions & 0 deletions lib/U8g2/examples/page_buffer/ButtonEmoticon/ButtonEmoticon.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Chinese/Chinese.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/ClipWindow/ClipWindow.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Clock/Clock.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/ContrastTest/ContrastTest.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Devanagari/Devanagari.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/DirectAccess/DirectAccess.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/DrawLog/DrawLog.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/ExtUTF8/ExtUTF8.ino

Large diffs are not rendered by default.

120 changes: 116 additions & 4 deletions lib/U8g2/examples/page_buffer/FPS/FPS.ino

Large diffs are not rendered by default.

130 changes: 119 additions & 11 deletions lib/U8g2/examples/page_buffer/FlipMode/FlipMode.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/GraphicsTest/GraphicsTest.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/HelloWorld/HelloWorld.ino

Large diffs are not rendered by default.

117 changes: 109 additions & 8 deletions lib/U8g2/examples/page_buffer/IconMenu/IconMenu.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Japanese/Japanese.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Korean/Korean.ino

Large diffs are not rendered by default.

537 changes: 537 additions & 0 deletions lib/U8g2/examples/page_buffer/LoadFromSD/LoadFromSD.ino

Large diffs are not rendered by default.

514 changes: 514 additions & 0 deletions lib/U8g2/examples/page_buffer/MechCount/MechCount.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/PowerSaveTest/PowerSaveTest.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/PrintHelloWorld/PrintHelloWorld.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/PrintProgmem/PrintProgmem.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/PrintUTF8/PrintUTF8.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/ScrollingText/ScrollingText.ino

Large diffs are not rendered by default.

115 changes: 109 additions & 6 deletions lib/U8g2/examples/page_buffer/SelectionList/SelectionList.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Serial/Serial.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Shennong/Shennong.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/StateBufferLoop/StateBufferLoop.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Terminal/Terminal.ino

Large diffs are not rendered by default.

111 changes: 105 additions & 6 deletions lib/U8g2/examples/page_buffer/U8g2Logo/U8g2Logo.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/UpdatePartly/UpdatePartly.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/Weather/Weather.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/XBM/XBM.ino

Large diffs are not rendered by default.

108 changes: 104 additions & 4 deletions lib/U8g2/examples/page_buffer/XORTest/XORTest.ino

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion lib/U8g2/examples/u8x8/16x16Font/16x16Font.ino

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion lib/U8g2/examples/u8x8/FlipMode/FlipMode.ino

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion lib/U8g2/examples/u8x8/GraphicsTest/GraphicsTest.ino

Large diffs are not rendered by default.

88 changes: 85 additions & 3 deletions lib/U8g2/examples/u8x8/HelloWorld/HelloWorld.ino

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion lib/U8g2/examples/u8x8/MessageBox/MessageBox.ino

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion lib/U8g2/examples/u8x8/Terminal/Terminal.ino

Large diffs are not rendered by default.

85 changes: 83 additions & 2 deletions lib/U8g2/extras/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,86 @@ https://github.com/olikraus/u8g2 ChangeLog
* Added JLX256160M for mirrored version of the JLX256160 display (issue 930)
* Unifont update to 12.1.02, added several plane 1 fonts (issue 931)
* bdfconv.exe: Windows exe created, bugfix with -d option (issue 833)


2020-01-27 v2.27.6 [email protected]
* Support for IST7920 (issue 999). Note: IST7920 has nothing todo with ST7920
* Added screenshot/screencapture for full buffer mode (issue 1005)
See: https://github.com/olikraus/u8g2/wiki/u8g2reference#writebufferpbm
* Bugfix for draw 1x2 and 2x2 procedures for big 8x8 fonts (issue 1054)
* Added fast software SPI support for Arduino Nano Every (issue 987)
* Added "LoadFromSD" example to demonstrate reading XBM binary from SD card (issue #1059)
* Added png to XBM binary conversion tool (https://github.com/olikraus/u8g2/tree/master/tools/png2bin)
* Support for SSD1306 72x40 (issue 1047)
* Bugfix for print() and setFontDirection() (issue 963)
* Support for Visionox SSD1327 128x96 OLED (issue 1090)
* Support for Open-Smart ST7567 128x64 LCD (issue 1088)
* Added Lucida X11 fonts (issue 271)
* Added several fonts from dafont.com (issue 1093)
* Added 3-wire HW SPI (issue 1041)
2020-12-28 v2.28.10 [email protected]
* Added Euro Symbol to _te fonts (issue 1321)
* Added support for ST7528 (issue 986)
* Added support for ST7571 (issue 1298)
* Added support for ST7586 YMC240160 (issue 1183)
* Added support for UC1617 JLX128128 (issue 1151)
* Added support for SH1106 Visionox 128X32 (issue 1250)
* Added support for Raystar SSD1305 (issue 1111)
* Added support for KS0713 controller (issue 1314)
* Added support for ST7567_HEM6432 (issue 1159)
* U8g2 16 Bit Mode enabled by default for ARM and ESP Systems (issue 1222)
2021-09-03 v2.29.11 [email protected]
* Update for getStrWidth/getUTF8Width: The new return value might be little bit larger (issue 1561)
* New draw procedure drawButtonUTF8 (issue 1577)
* Added vertical mirror option U8G2_MIRROR_VERTICAL for u8g2 ([email protected], issue 1474).
* Added support for UC1638 based 196x96 display (issue 371)
* Added support for HD44102 and T7932 displays (issue 1492)
* Added support for SSD1320 (issue 1351)
* Added support for S1D15721 (issue 1473)
* Added support for SSD1306 EA OLEDS102 (issue 1493)
* Added support for UC1601 128x64 (issue 1501)
* Font Wiki page splitted into four sub-pages to avoid the GitHub 'abuse' message.
2021-09-07 v2.30.1 [email protected]
* Bugfix drawButtonUTF8 (added C++ code, issue 1577)
2021-09-19 v2.31.1 [email protected]
* Added icons from https://app.streamlinehq.com/icons/pixel (issue 1589)
2021-09-20 v2.31.2 [email protected]
* Bugfix release for include error (issues 1592 and 1594)
2022-04-03 v2.32.15 [email protected]
* SH1107 128x80 (issue 1598)
* ST7920 256x32 (issue 1593)
* ST7567 122x32 (issue 1759)
* ST7571 128X96 (issue 1575)
* SSD1312 (issue 1806)
* ST7571 128x128 (bugfix issue 1576)
* Added support for UC1609 (issue 1565)
* Added support for GU800 series of Vacuum Fluorescent Displays (VFD, issue 1604)
* Changed SPI Mode for Sharp displays (ls013..., issue 1771)
* Added many more fonts (issues 1794, 1775, 1706, 1769)
* Fixed several bugs and compiler errors
2022-09-04 v2.33.15 [email protected]
* ST7567 ERC13232 (issue 1869)
* Bugfix for ST7567: (re-)added I2C and 3-wire-SPI (issue 1939)
* ST7920 160x32 (issue 1873)
* ST7586 JLX384160 (issue 1932)
* LC7981 128X128, NOT TESTED (issue 1913)
* SSD1316 96x32 (issue 1938, not tested, moved to 2.34.x)
* GP1287AI 256X50, GP1247AI 253X63 contributed (issue 1907)
* Added support for IST3088 (issue 1887)
* Double size font functions: drawGlyphX2, drawStrX2, drawUTF8X2 (issue 1919)
* Experimental support for ST75160, TESTING REQUIRED (issue 1642)
* Bugfix font compression: Reduced fontsize by up to 4% (issue 1941)
* Changed SPI mode for SH1106 from 3 to 0 (issue 1901)
2023-xx-xx v2.34.xx [email protected]
* SSD1327 ZJY M150 128x128 (issue 1960)
* SSD1316 96x32 (issue 1938)
* SH1108 128x160 (issue 1998)
* SSD1306 96x39 (issue 1959)
* S1D15300 128x64, flip mode 1 not supported, (issue 2063)
* SSD1362 256x64 (issue 1322, issue 2051)
* JLX160x80 (issue 2058)
* UC1638 240x128 (issue 2075)
* Bugfix: Clear font_height_mode during setup to ensure correct default values in
cases where the u8g2 struct / class is created via dynamic memory allocation (issue 2046)
* Bugfix: Fix line draw procedure in 16 bit mode (issue 2053)
* Added Spleen Monospaced Font from https://github.com/fcambus/spleen (issue 2015)
* Extended the "E" font range with subscript characters if available in the original font (issue 2079)
* Bugfix for ESP32 HW SPI Pin Remapping (issue 377, PR 2123)
Loading

0 comments on commit b788558

Please sign in to comment.