Skip to content

Commit

Permalink
Update variant.h
Browse files Browse the repository at this point in the history
  • Loading branch information
S5NC authored Apr 14, 2024
1 parent ab458f8 commit bf8634d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions variants/CDEBYTE_EoRa-S3/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
// SD card - TODO: test, currently untested, copied from T3S3 variant
#define HAS_SDCARD
#define SDCARD_USE_SPI1
// TODO: rename this to make this SD-card specific
#define SPI_CS 13
#define SPI_SCK 14
#define SPI_MOSI 11
#define SPI_MISO 2
// FIXME: there are two other SPI pins that are not defined here
// Compatibility
#define SDCARD_CS SPI_CS

// Battery voltage monitoring - TODO: test, currently untested, copied from T3S3 variant
#define BATTERY_PIN 1 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
Expand Down

0 comments on commit bf8634d

Please sign in to comment.