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

ELECHOUSE_cc1101.getCC1101() ALWAYS TRUE

Open IAmOrion opened this issue 1 year ago • 2 comments

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!

IAmOrion avatar May 16 '23 15:05 IAmOrion

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

SFGJK avatar Oct 14 '23 08:10 SFGJK

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

angrest avatar Dec 31 '23 15:12 angrest