Skip to content

Commit

Permalink
Merge pull request #553 from rouing/dev1
Browse files Browse the repository at this point in the history
[T-Embed-CC1101] Enable GDO2 for CC1101 for Serial Transmission
  • Loading branch information
bmorcelli authored Dec 16, 2024
2 parents b35fbbe + f57db7b commit df6547c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ports/lilygo-t-embed-cc1101/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ build_flags =
-DCC1101_MOSI_PIN=SPI_MOSI_PIN
-DCC1101_SCK_PIN=SPI_SCK_PIN
-DCC1101_MISO_PIN=SPI_MISO_PIN
;-DCC1101_GDO2_PIN=14 ; optional
-DCC1101_GDO2_PIN=38 ; optional

; connections are the same as CC1101
-DUSE_NRF24_VIA_SPI
Expand Down Expand Up @@ -143,9 +143,9 @@ build_flags =
-DTFT_HEIGHT=320
-DTFT_INVERSION_ON
-DTFT_BL=21
-DTFT_MISO=10
-DTFT_MOSI=9
-DTFT_SCLK=11
-DTFT_MISO=SPI_MISO_PIN
-DTFT_MOSI=SPI_MOSI_PIN
-DTFT_SCLK=SPI_SCK_PIN
-DTFT_CS=41
-DTFT_DC=16
-DTFT_RST=-1
Expand All @@ -157,9 +157,9 @@ build_flags =

;SD Card Setup pins
-DSDCARD_CS=13
-DSDCARD_SCK=11
-DSDCARD_MISO=10
-DSDCARD_MOSI=9
-DSDCARD_SCK=SPI_SCK_PIN
-DSDCARD_MISO=SPI_MISO_PIN
-DSDCARD_MOSI=SPI_MOSI_PIN

;Default I2C port
-DGROVE_SDA=8
Expand Down

0 comments on commit df6547c

Please sign in to comment.