aboutsummaryrefslogtreecommitdiff
path: root/modules/ls0xx/ls0xx_opcodes.h
blob: 2c3928a18d5aa640af8839077ef9e0d5343bc62e (plain)
1
2
3
4
5
6
7
8
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