diff options
author | Jack Sangdahl <[email protected]> | 2025-05-08 23:31:12 -0600 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2025-05-08 23:31:12 -0600 |
commit | b0c6852154b3060b639e8d7d87d16d17bd4dfcc4 (patch) | |
tree | 1bb641d18813c5450d63d25a3bd7e1f2b0c3c62e /modules/ls0xx/ls0xx_opcodes.h | |
parent | 024f749e83ce97f003138f06dba2268cc18897c2 (diff) | |
download | qmk_me-b0c6852154b3060b639e8d7d87d16d17bd4dfcc4.tar.gz qmk_me-b0c6852154b3060b639e8d7d87d16d17bd4dfcc4.zip |
Fix keymap function, add ls0xx module, other changes
Diffstat (limited to 'modules/ls0xx/ls0xx_opcodes.h')
-rw-r--r-- | modules/ls0xx/ls0xx_opcodes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/ls0xx/ls0xx_opcodes.h b/modules/ls0xx/ls0xx_opcodes.h new file mode 100644 index 0000000..2c3928a --- /dev/null +++ b/modules/ls0xx/ls0xx_opcodes.h @@ -0,0 +1,9 @@ +// Copyright Pablo Martinez (@elpekenin) <[email protected]> +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +// NOTE: written LSB first as the display expects them +#define LS0XX_WRITE 0x80 // Start sending framebuffer +#define LS0XX_VCOM 0x40 // Set VCOM high +#define LS0XX_CLEAR 0x20 // Clear |