LSatan / SmartRC-CC1101-Driver-Lib

This driver library can be used for many libraries that use a simple RF ASK module, with the advantages of the cc1101 module. It offers many direct setting options as in SmartRF Studio and calculates settings such as MHz directly.
Other
393 stars 84 forks source link

ELECHOUSE_cc1101.getCC1101() ALWAYS TRUE #131

Open IAmOrion opened 1 year ago

IAmOrion commented 1 year ago

Not sure if it's just me, but using ESP8266, this statement... if (ELECHOUSE_cc1101.getCC1101()) { Serial.println("Connection OK"); } else { Serial.println("Connection Error"); }

ALWAYS returns true / "Connection OK"... even if I disconnect the CC1101 is will still return true so something's not right!

SFGJK commented 8 months ago

Have the same issue. Compiled w/ LibVer. 2.5.7 & Arduino 1.8.13, uploaded to nodeMCU ESP-12E.

angrest commented 6 months ago

II suppose the code/ the check done in the Library is wrong. I've commented in https://github.com/LSatan/SmartRC-CC1101-Driver-Lib/issues/122#issuecomment-1872568284