mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Increase LCD I2C bus frequency to fit with new LCD module firmware.
The new firmware can run at up to 68kHz, so increase the I2C bus speed to 60000Hz
This commit is contained in:
parent
a9c7041af7
commit
2c7d3a3743
@ -7,7 +7,7 @@
|
|||||||
// and http://embeddedtutorial.com/2010/01/interfacing-lcd-with-8051/
|
// and http://embeddedtutorial.com/2010/01/interfacing-lcd-with-8051/
|
||||||
|
|
||||||
// I2C bus frequency that the LCD display runs at: 20kHz max
|
// I2C bus frequency that the LCD display runs at: 20kHz max
|
||||||
#define LCD_BUS_FREQ 20000
|
#define LCD_BUS_FREQ 60000
|
||||||
|
|
||||||
// Pause required after every command byte, and n*delay when sending N
|
// Pause required after every command byte, and n*delay when sending N
|
||||||
// characters of data (or of commands): 5 milliseconds
|
// characters of data (or of commands): 5 milliseconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user