Platform independency
This commit is contained in:
@@ -7,7 +7,15 @@
|
||||
**/
|
||||
#define RH_SPEED 1000
|
||||
|
||||
|
||||
/**
|
||||
* Pin for the receiver
|
||||
**/
|
||||
#if defined(USE_ARDUINO)
|
||||
#define RH_RX_PIN 11
|
||||
#elif defined(USE_ESPRESSIF)
|
||||
#define RH_RX_PIN 12
|
||||
#endif
|
||||
|
||||
#define RH_BUF_LEN 5
|
||||
uint8_t rh_buf[RH_BUF_LEN];
|
||||
|
||||
Reference in New Issue
Block a user