SmartRC-CC1101-Driver-Lib icon indicating copy to clipboard operation
SmartRC-CC1101-Driver-Lib copied to clipboard

Fix NewRemoteSwitch examples to fully support ESPs

Open latchdevel opened this issue 3 years ago • 0 comments

Hi!.

After fixing some issues in NewRemoteSwitch library, including full support for ESP8266 and ESP32, it is necessary to update SmartRC-CC1101-Driver-Lib usage examples.

I have taken the opportunity to add some improvements and corrections, mainly for ESP8266, since it not works correctly direct switch from TX to RX mode, being necessary to previously go through the Idle mode. TX -> Idle -> RX. It only occurs to me that it is because in ESP8266 only GPIO 4 and 5 are available, which overlap with the I2C bus and most of the boards put these lines in pull-up.

I have tested the five examples in a real environment, both on Arduino AVR as ESP8266 and ESP32, all working correctly.

Hope I can help other users with my little contribution. Regards!

latchdevel avatar Sep 25 '21 18:09 latchdevel