This commit is contained in:
kraus 2018-10-28 09:43:09 +01:00
parent 8e0fbc5eef
commit f6c48f4b1a
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ The file "u8g2.h" is located in "/libraries/U8g2_Arduino/src/clib" inside your d
sketch folder. sketch folder.
Q: U8g2 requires a lot of memory. How to reduce this? Q: U8g2 requires a lot of memory. How to reduce this?
- Limit the font size. If possible avoid "f" fonts, instead use "r" fonts - Visit https://github.com/olikraus/u8g2/wiki/u8g2optimization
- Disable U8g2 features if possible (see u8g2.h)
- Limit the font size. If possible avoid "f" fonts, instead use "r" or "n" fonts
- If the I2C interface is not required, then uncomment #define U8X8_HAVE_HW_I2C in U8x8lib.h - If the I2C interface is not required, then uncomment #define U8X8_HAVE_HW_I2C in U8x8lib.h
(Background: Due to a problem in Wire.h, the I2C Arduino lib is always included) (Background: Due to a problem in Wire.h, the I2C Arduino lib is always included)