1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
C:\Users\CS\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino: In function 'void setup()':
sketch_apr19a:47: error: 'CFREQ_433' was not declared in this scope
cc1101.setCarrierFreq(CFREQ_433);
^
In file included from C:\Users\CS\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h:306:10: error: 'byte CC1101::readReg(byte, byte)' is private
byte readReg(byte regAddr, byte regType);
^
sketch_apr19a:52: error: within this context
Serial.println(cc1101.readReg(CC1101_PARTNUM, CC1101_STATUS_REGISTER));
^
In file included from C:\Users\Chris\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h:306:10: error: 'byte CC1101::readReg(byte, byte)' is private
byte readReg(byte regAddr, byte regType);
^
sketch_apr19a:54: error: within this context
Serial.println(cc1101.readReg(CC1101_VERSION, CC1101_STATUS_REGISTER));
^
In file included from C:\Users\Chris\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h:306:10: error: 'byte CC1101::readReg(byte, byte)' is private
byte readReg(byte regAddr, byte regType);
^
sketch_apr19a:56: error: within this context
Serial.println(cc1101.readReg(CC1101_MARCSTATE, CC1101_STATUS_REGISTER) & 0x1f);
^
In file included from C:\Users\Chris\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h: In function 'void ReadLQI()':
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h:306:10: error: 'byte CC1101::readReg(byte, byte)' is private
byte readReg(byte regAddr, byte regType);
^
sketch_apr19a:67: error: within this context
lqi=(cc1101.readReg(CC1101_LQI, CC1101_STATUS_REGISTER));
^
In file included from C:\Users\Chris\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:2:0:
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h: In function 'void ReadRSSI()':
C:\Program Files (x86)\Arduino\libraries\panstamp/cc1101.h:306:10: error: 'byte CC1101::readReg(byte, byte)' is private
byte readReg(byte regAddr, byte regType);
^
sketch_apr19a:78: error: within this context
rssi=(cc1101.readReg(CC1101_RSSI, CC1101_STATUS_REGISTER));
^
exit status 1
within this context |
Partager