Open icaruspony opened 7 years ago
Thanks. I actually found that in a comment on your YouTube video and fixed that.
But now it fails to compile for RF24 (and I copied those 3 files from maniacbugs RF24) and changed the <> to "".
So I'm stuck again.
On Thu, Jul 6, 2017, 7:05 PM Samy Kamkar notifications@github.com wrote:
Try samyk/Adafruit_FONA_Library@09e2aae https://github.com/samyk/Adafruit_FONA_Library/commit/09e2aae02d923e24a35062c79b5fc3ac0a660efe
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samyk/keysweeper/issues/13#issuecomment-313542824, or mute the thread https://github.com/notifications/unsubscribe-auth/AVfb92VoF2OiFTFnBY7xES8H0m-kdXBGks5sLWgjgaJpZM4KKrAE .
More details please
Im getting also error from RF24.
Seems to be a lot of undefined reference errors.
Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
keysweeper_mcu_src.ino:1136: undefined reference to RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference to
RF24::setAutoAck(bool)'
keysweeper_mcu_src.ino:811: undefined reference to RF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference to
RF24::setDataRate(rf24_datarate_e)'
keysweeper_mcu_src.ino:813: undefined reference to RF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference to
RF24::setChannel(unsigned char)'
keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)'
.............
Seems to be somekind of problem when keeping RF24 libary with this code. When i install that as a library seems to work ok, dont know atm whats the problem (i did edit the path in RF24.h for the RF24_config.h)
Im getting also error from RF24.
Seems to be a lot of undefined reference errors.
Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)" keysweeper_mcu_src.ino:1136: undefined reference to
RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference to
RF24::setAutoAck(bool)' keysweeper_mcu_src.ino:811: undefined reference toRF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference to
RF24::setDataRate(rf24_datarate_e)' keysweeper_mcu_src.ino:813: undefined reference toRF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference to
RF24::setChannel(unsigned char)' keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)' .............
Hi~I also meet with the same problem.Have you solved it? I use the Arduino IDE.
@samyk Have you had a moment to investigate this issue? I too am trying to replicate this project and am receiving a variety of undefined references all related to RF24 as describe above.
Happy to help with this issue further if I can.
All The Best,
Are you using https://github.com/maniacbug/RF24? I believe that was the version used -- unfortunately there are a ton of forks of it and I'm not sure particularly which was the library of the week. I'd suggest just going into the RF24 .h files and moving those functions from private
to public
.
I am. I played around with everything and got the code to compile. When I put the RF24.cpp file into the keysweeper_mcu_src directory, the code properly compiled. I didn't see that mentioned anywhere in the write up and I won't pretend to know why that made a difference. Hope that helps.
I am getting this error:
no matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)'
Please help.