SmartRC-CC1101-Driver-Lib
SmartRC-CC1101-Driver-Lib copied to clipboard
ELECHOUSE_cc1101.getCC1101() ALWAYS TRUE
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!
Have the same issue. Compiled w/ LibVer. 2.5.7 & Arduino 1.8.13, uploaded to nodeMCU ESP-12E.
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