Add sensecap-indicator-d1_8MB

This commit is contained in:
fvanroie 2023-07-23 16:28:36 +02:00
parent 4e5114a01b
commit 7682eea7b0
3 changed files with 10 additions and 0 deletions

View File

@ -50,6 +50,8 @@ jobs:
env: "makerfabs-tft35-cap_4MB -e makerfabs-tft35-cap_16MB -e makerfabs-s3-tft35-spi -e makerfabs-s3-tft40-rgb -e makerfabs-s3-tft43-rgb"
- out: panlee
env: "panlee-zw3d95ce01s-ar-4848_16MB -e panlee-zw3d95ce01s-ur-4848_16MB"
- out: seeed-studios
env: "sensecap-indicator-d1_8MB"
- out: sunton
env: "esp32-2432s028r_4MB -e esp32-3248s035c_4MB -e esp32-3248s035r_4MB -e sunton-4827s043c_16MB -e sunton-8048s043c_16MB -e sunton-8048s050c_16MB -e sunton-8048s070c_16MB"
- out: waveshare

View File

@ -2,6 +2,8 @@
#include "driver/gpio.h"
#include "hasplib.h"
#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX)
Arduino_PCA9535SWSPI::Arduino_PCA9535SWSPI(int8_t sda, int8_t scl, int8_t pwd, int8_t cs, int8_t sck, int8_t mosi, TwoWire *wire)
: _sda(sda), _scl(scl), _pwd(pwd), _cs(cs), _sck(sck), _mosi(mosi), _wire(wire)
{
@ -267,3 +269,5 @@ int Arduino_PCA9535SWSPI::digitalRead(uint8_t pin)
}
return 0;
}
#endif

View File

@ -1,6 +1,8 @@
#ifndef _Arduino_PCA9535SWSPI_H_
#define _Arduino_PCA9535SWSPI_H_
#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX)
#include <Wire.h>
#include "Arduino_DataBus.h"
@ -54,4 +56,6 @@ protected:
private:
};
#endif
#endif // _Arduino_PCA9535SWSPI_H_