DzikuVx / QuadMeUp_Crossbow

Cheap DIY RC link based on LoRa 868MHz modules
Mozilla Public License 2.0
115 stars 29 forks source link

Which libraries do you use? #45

Closed unitware closed 6 years ago

unitware commented 6 years ago

I'm trying to locate correct sources and versions of all libraries but I'm not sure I got it correct. It would be great if you could help me out, maybe update the readme?

My PPMReader (https://github.com/Nikkilae/PPM-reader) does not match the function prototype " crossbow:38: error: no matching function for call to 'PPMReader::PPMReader(int, int, bool)' PPMReader ppmReader(PPM_INPUT_PIN, PPM_INPUT_INTERRUPT, true); "

Then I need to fix the InterruptHandler to support the M0 chip but thats another story :)

unitware commented 6 years ago

ok, I was using the wrong lib, Just found your https://github.com/DzikuVx/PPMReader which I assume is the correct one. But then I realized that you are using sbus from your transceiver..

I have also found: https://github.com/adafruit/Adafruit_SSD1306 https://github.com/adafruit/Adafruit-GFX-Library

which seems to work.

unitware commented 6 years ago

Have you used the PPMReader at the same time as the lora library? I am having trouble getting communications to run when I am instantiating the ppmReader, interrupt conflict?

DzikuVx commented 6 years ago

PPM reader is not longer used in current code. The only external lib would be Adafruit_SSD1306. Everything else is part of the project itself

unitware commented 6 years ago

Thanks, I'll try to get a PPM working then (I do not have sbus output)