bugfix(rmt): fix event thresh check issue

reported from: https://github.com/espressif/esp-idf/issues/1011

1. Fix event thresh check issue
2. Change IO number in example in case it conflicts with GPIO16(psram cs pin).
This commit is contained in:
Wangjialin
2017-10-18 18:49:09 +08:00
parent d0df8f2811
commit ab1abff080
2 changed files with 6 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ static const char* NEC_TAG = "NEC";
#endif
#define RMT_TX_CHANNEL 1 /*!< RMT channel for transmitter */
#define RMT_TX_GPIO_NUM 16 /*!< GPIO number for transmitter signal */
#define RMT_TX_GPIO_NUM 18 /*!< GPIO number for transmitter signal */
#define RMT_RX_CHANNEL 0 /*!< RMT channel for receiver */
#define RMT_RX_GPIO_NUM 19 /*!< GPIO number for receiver */
#define RMT_CLK_DIV 100 /*!< RMT counter clock divider */