This commit is contained in:
2026-08-20 21:41:27 +02:00
parent 5f0ebe7269
commit 073bcd0d25
2 changed files with 3 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
#include "esp_err.h"
#include "driver/i2c_master.h"
#include "st7567-common.h"
// Display dimensions
#define ST7567_WIDTH 128
@@ -26,7 +28,4 @@ typedef struct {
*/
esp_err_t st7567_init(const st7567_i2c_config_t *config, st7567_device_t *device);
#include "st7567-common.h"
#endif // ST7567_I2C_H

View File

@@ -1,6 +1,7 @@
#ifndef ST7567_SPI_H
#define ST7567_SPI_H
#include "st7567-common.h"
#include "esp_err.h"
#include "driver/spi_master.h"
#include "driver/gpio.h"
@@ -25,7 +26,4 @@ typedef struct {
*/
esp_err_t st7567_init(const st7567_spi_config_t *config, st7567_device_t *device);
#include "st7567-common.h"
#endif // ST7567_SPI_H