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
394 stars 85 forks source link

Example "ProtocalAnalyzeDemo_cc1101" fails with exit status 1 #123

Open frspp opened 1 year ago

frspp commented 1 year ago
exit status 1

Compilation error: 'class RCSwitch' has no member named 'getReceivedLevelInFirstTiming'
Eheran1 commented 8 months ago

Issue still present. Can not compile for ArduinoUNO, Atmega168, Teensy3.2, ...

ProtocolAnalyzeDemo_cc1101.ino:76:55: error: 'class RCSwitch' has no member named 'getReceivedLevelInFirstTiming'
   76 |       unsigned int databitsoffset = abs((int)mySwitch.getReceivedLevelInFirstTiming() - (int)mySwitch.getReceivedInverted());
ProtocolAnalyzeDemo_cc1101.ino:76:103: error: 'class RCSwitch' has no member named 'getReceivedInverted'; did you mean 'getReceivedValue'?
   76 |       unsigned int databitsoffset = abs((int)mySwitch.getReceivedLevelInFirstTiming() - (int)mySwitch.getReceivedInverted());
[and a few more]