Skip to content

U8G2_R0 and I2C address #1588

Answered by olikraus
jandemna asked this question in Q&A
Sep 12, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

U8G2_R0 (and friends) are described here: https://github.com/olikraus/u8g2/wiki/u8g2reference#carduino-example

Declarations are here:

u8g2/csrc/u8g2.h

Lines 435 to 447 in 4486047

extern const u8g2_cb_t u8g2_cb_r0;
extern const u8g2_cb_t u8g2_cb_r1;
extern const u8g2_cb_t u8g2_cb_r2;
extern const u8g2_cb_t u8g2_cb_r3;
extern const u8g2_cb_t u8g2_cb_mirror;
extern const u8g2_cb_t u8g2_cb_mirror_vertical;
#define U8G2_R0 (&u8g2_cb_r0)
#define U8G2_R1 (&u8g2_cb_r1)
#define U8G2_R2 (&u8g2_cb_r2)
#define U8G2_R3 (&u8g2_cb_r3)
#define U8G2_MIRROR (&u8g2_cb_mirror)
#define U8G2_MIRROR_VERTICAL (&u8g2_cb_mirror_vertical)

U…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jandemna
Comment options

Answer selected by jandemna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants