Skip to content

Fix NewRemoteSwitch examples to fully support ESPs#90

Open
latchdevel wants to merge 1 commit intoLSatan:masterfrom
latchdevel:fix-NewRemoteSwitch-examples
Open

Fix NewRemoteSwitch examples to fully support ESPs#90
latchdevel wants to merge 1 commit intoLSatan:masterfrom
latchdevel:fix-NewRemoteSwitch-examples

Conversation

@latchdevel
Copy link

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!

All examples works properly on any Arduino AVR, ESP8266 or ESP32.
NewRemoteSwitch library commit c3ca4cb (Sep 19, 2021) or later,
required to work on ESP8266 and ESP32.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant