Skip to content

Commit

Permalink
Add sensecap-indicator-d1_8MB
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Jul 23, 2023
1 parent 4e5114a commit 7682eea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -267,3 +269,5 @@ int Arduino_PCA9535SWSPI::digitalRead(uint8_t pin)
}
return 0;
}

#endif
4 changes: 4 additions & 0 deletions src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.h
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -54,4 +56,6 @@ class Arduino_PCA9535SWSPI : public Arduino_DataBus
private:
};

#endif

#endif // _Arduino_PCA9535SWSPI_H_

0 comments on commit 7682eea

Please sign in to comment.