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

Example "ProtocalAnalyzeDemo_cc1101" fails with exit status 1

frspp opened this issue · comments

commented
exit status 1

Compilation error: 'class RCSwitch' has no member named 'getReceivedLevelInFirstTiming'

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]