Skip to content

Commit

Permalink
Update Arduino_PCA9535SWSPI
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Jul 23, 2023
1 parent 37b3e48 commit 4d6860f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/drv/tft/Arduino_PCA9535SWSPI.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX)

#include "Arduino_PCA9535SWSPI.h"

#if defined(HASP_USE_ARDUINOGFX)
#warning Arduino_PCA9535SWSPI.cpp

#include "driver/gpio.h"
#include "hasplib.h"

Expand Down
4 changes: 3 additions & 1 deletion src/drv/tft/Arduino_PCA9535SWSPI.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#ifndef _Arduino_PCA9535SWSPI_H_
#define _Arduino_PCA9535SWSPI_H_

#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX)
#if defined(HASP_USE_ARDUINOGFX)
#warning Arduino_PCA9535SWSPI.h

#include <Wire.h>

#include <Arduino_GFX_Library.h>
#include "Arduino_DataBus.h"

#define PCA9535_IIC_ADDRESS 0X20
Expand Down

0 comments on commit 4d6860f

Please sign in to comment.