loboris / ESP32_CC1101

ESP32 driver library for TI CC1100 Low-Power Sub-1 GHz RF Transceiver
70 stars 18 forks source link

How did you wire the cc1101 on esp32? #4

Open vekexasia opened 4 years ago

vekexasia commented 4 years ago

Hello, how did you wire the cc1101 to your esp32?

HexRx commented 4 years ago

@vekexasia the wire configuration located in the https://github.com/loboris/ESP32_CC1101/blob/master/components/cc1100/libcc1100.h

#define SCK_PIN     18  // SPI CLOCK
#define MISO_PIN    19  // SPI MISO (input)
#define MOSI_PIN    23  // SPI MOSI
#define SS_PIN       5  // SPI CS
#define GDO2        25  // input from GD02
#define GDO0        36  // ADC input, set to 0 if you don't want to use it