728x90
setI2CAddress
- C++/Arduino Prototype:
void U8G2::setI2CAddress(uint8_t adr)
- C Prototype:
void u8g2_SetI2CAddress(u8g2_t *u8g2, uint8_t adr)
- Description: By default, U8g2 assumes the lowest possible I2C address of the display. This procedure will assign the I2C address to u8g2, if the display is configured to a different address. Call this procedure before begin().
- Arguments:
- u8g2: A pointer to the u8g2 structure.
- adr: I2C address multiplied with 2 (the lowest bit must be zero)
- Returns: -
- See also: begin
- Note: This procedure is available with U8g2 v2.6.x
'홍익인간 프로젝트 > Arduino C' 카테고리의 다른 글
[아두이노] GPS 모듈의 사용 1편 - GPS 로그 찍어보기 (0) | 2020.12.07 |
---|---|
Wire Library (0) | 2020.12.01 |
SSD1306 dual I2C display (0) | 2020.12.01 |
How to Drive the SSD1306 OLED LCD display (0) | 2020.12.01 |
The Featherwing OLED and Univision OLED (0) | 2020.12.01 |