I need some assistance.
I have an Arduino Uno - and I purchased a RFM12B board from Modern Device.
I followed this guide:
http://jeelabs.net/projects/hardware/wiki/RFM12B_Board
I soldered it all together and I have the board on 5v power with the IRQ going to Digital pin2.
I then downloaded the library.
https://github.com/jcw/jeelib
I download the "jeelib-master.zip"
I unzip it to my arduino library directory and name it: "JeeLib"
These instructions told me to name the directory:
http://jeelabs.net/pub/docs/jeelib/md_README.html
-Unpack the archive and rename the resulting folder to "JeeLib".
-Move it to the "libraries" folder in your Arduino sketches area.
-Restart the Arduino IDE to make sure it sees the new files.
Next I open the arduino IDE interface and browse the examples:
I see the examples and I choose the Example:
RF12Demo and attempt to upload and I get dozens and dozens of errors:
It should have nothing to do with my hardware - the interface can't even compile it?
is this a problem with the library or am I doing something incorrectly?
RF12demo:48: error: 'RF12_EEPROM_SIZE' was not declared in this scope
RF12demo:55: error: 'RF12_MAXDATA' was not declared in this scope
RF12demo:56: error: 'RF12_MAXDATA' was not declared in this scope
RF12demo.ino: In function 'void saveConfig()':
RF12demo:88: error: 'struct RF12Config' has no member named 'msg'
RF12demo:88: error: 'struct RF12Config' has no member named 'msg'
RF12demo:89: error: 'struct RF12Config' has no member named 'msg'
RF12demo:92: error: 'struct RF12Config' has no member named 'msg'
RF12demo:93: error: 'struct RF12Config' has no member named 'msg'
RF12demo:94: error: 'struct RF12Config' has no member named 'msg'
RF12demo:96: error: 'struct RF12Config' has no member named 'msg'
RF12demo:98: error: 'struct RF12Config' has no member named 'msg'
RF12demo:99: error: 'struct RF12Config' has no member named 'msg'
RF12demo:101: error: 'struct RF12Config' has no member named 'msg'
RF12demo:104: error: 'struct RF12Config' has no member named 'msg'
RF12demo:105: error: 'struct RF12Config' has no member named 'msg'
RF12demo:114: error: 'RF12_EEPROM_ADDR' was not declared in this scope
RF12demo:117: error: 'rf12_config' was not declared in this scope
RF12demo.ino: In function 'byte bandToFreq(byte)':
RF12demo:122: error: 'RF12_868MHZ' was not declared in this scope
RF12demo:122: error: 'RF12_915MHZ' was not declared in this scope
RF12demo:122: error: 'RF12_433MHZ' was not declared in this scope
etc.
etc.
etc.
Library Issues for RFM12B
Re: Library Issues for RFM12B
kramerica,
I trust you got this working?
I trust you got this working?