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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ELECHOUSE_cc1101.getCC1101() ALWAYS TRUE

IAmOrion opened this issue · 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!

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 #122 (comment)