faq
This commit is contained in:
parent
ed0eb8147f
commit
dd4329f003
|
@ -171,6 +171,13 @@ Q: U8g2 requires a lot of memory. How to reduce this?
|
|||
- 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)
|
||||
|
||||
Q: There is no visible output output. What is can be done?
|
||||
- Check the wiring, see first part of this FAQ.
|
||||
- Check the constructor. Does it fit to your display?
|
||||
- Do not output a text at (0,0): The reference point for text is lower left, so
|
||||
u8g2_DrawStr(&u8g2, 0, 0, “Hello world!”); will not display anything. Instead use
|
||||
u8g2_DrawStr(&u8g2, 0, 20, “Hello world!”);
|
||||
|
||||
Q: U8g2 output is corrupted. What are possible causes?
|
||||
- Do not change the output inside the firstPage/nextPage loop:
|
||||
Do *not* call digitalRead/analogRead inside the firstPage/nextPage loop.
|
||||
|
|
Loading…
Reference in New Issue