Skip to content

Commit

Permalink
Added note
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed May 30, 2024
1 parent 7b43fd8 commit fb376e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/LoRaShield/LoRaShield.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define LoRa_Device_RST 12
#define LoRa_Device_DIO 39

// IO35,39,34,36 can only be used for input and cannot be set as output
//IO34,35,36,37,38,39 can only be used for input and cannot be set as output
#define I2C_SDA 33
#define I2C_SCL 32

Expand Down
6 changes: 3 additions & 3 deletions examples/SPIExample/SPIExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@


#if defined(LILYGO_T_INTERNET_POE)
// IO34 35,39,34,36 can only be used for input and cannot be set as output
//ESP32 Version IO34,35,36,37,38,39 can only be used for input and cannot be set as output
#define SPI_MOSI 4 //OUTPUT
#define SPI_MISO 35 //INPUT
#define SPI_SCK 33 //OUTPUT
#define SPI_CS 16 //OUTPUT
#elif defined(LILYGO_T_ETH_POE_PRO)
// IO34 35,39,34,36 can only be used for input and cannot be set as output
//ESP32 Version IO34,35,36,37,38,39 can only be used for input and cannot be set as output
#define SPI_MOSI 12
#define SPI_MISO 13
#define SPI_SCK 14
Expand All @@ -28,7 +28,7 @@
//No free pin
#error "No free pin"
#elif defined(LILYGO_T_ETH_LITE_ESP32)
// IO35,39,34,36 can only be used for input and cannot be set as output
//ESP32 Version IO34,35,36,37,38,39 can only be used for input and cannot be set as output
#define SPI_MOSI 13
#define SPI_MISO 34 //INPUT
#define SPI_SCK 14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* GPIO33 ----> SDA
* GPIO32 ----> SCL
* */
// IO35,39,34,36 can only be used for input and cannot be set as output
//ESP32 Version IO34,35,36,37,38,39 can only be used for input and cannot be set as output


#include <Arduino.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/SharingSPIBus/SharingSPIBus.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define SD_Device_CS 13
#define Other_Device_CS 4 //Chip selection signal of another SPI

// IO35,39,34,36 can only be used for input and cannot be set as output
//ESP32 Version IO34,35,36,37,38,39 can only be used for input and cannot be set as output

#define I2C_SDA 33
#define I2C_SCL 32
Expand Down

0 comments on commit fb376e0

Please sign in to comment.