Change I2C address when serial port set at I2C mode, the new address will be saved in display even power off.
Note: must avoid the same address with others in a same net
|
Direct: |
"SI2CAa" |
|
Arduino: |
void setI2CAddress(uint8_t a)
|
|
C: |
void Digole_setI2CAddress(uint8_t a) |
a
The byte of new I2C address. Must between 1 and 127.
none
Example (Arduino):
mydisp.setI2CAddress(0x30); //set I2C address to 0x30, only work when display set at I2C mode
serial.writeString("SI2CA\x30"); //string format, set baud rate to 115200
| Version | Description |
|---|---|