Fix a compile warning
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
#define ST7565_V0_RATIO(N) ST7565_WRITE_BYTE(0x20 | ((N) & 0x7))
|
||||
#define ST7565_CONTRAST(N) do{ ST7565_WRITE_BYTE(0x81); ST7565_WRITE_BYTE(N); }while(0)
|
||||
|
||||
#define ST7565_COLUMN_ADR(N) do{ ST7565_WRITE_BYTE(0x10 | ((N) >> 4) & 0xF); ST7565_WRITE_BYTE(0x00 | ((N) & 0xF)); }while(0)
|
||||
#define ST7565_COLUMN_ADR(N) do{ ST7565_WRITE_BYTE(0x10 | (((N) >> 4) & 0xF)); ST7565_WRITE_BYTE((N) & 0xF); }while(0)
|
||||
#define ST7565_PAGE_ADR(N) ST7565_WRITE_BYTE(0xB0 | (N))
|
||||
#define ST7565_START_LINE(N) ST7565_WRITE_BYTE(0x40 | (N))
|
||||
#define ST7565_SLEEP_MODE() ST7565_WRITE_BYTE(0xAC)
|
||||
|
Reference in New Issue
Block a user