Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please fix example program in README.md #49

Closed
petesoper opened this issue Nov 9, 2018 · 4 comments
Closed

Please fix example program in README.md #49

petesoper opened this issue Nov 9, 2018 · 4 comments
Assignees
Labels

Comments

@petesoper
Copy link

petesoper commented Nov 9, 2018

  • Has publc" instead of "public".
  • The two class constructors don't have the same name as the class.
  • The code for the second constructor is outside the curly braces and has no semicolon.
  • But Refactor to add EU868 support and prepare for others #3 and some other errors I won't mention are a side effect of the fact that "limic_pinmap" is not defined. Could you give us a clue about what to include to satisfy this? There may be other problems, but I decided to stop with the undefined structure. (it is defined in many places in the libraries)

The build was attempted with Arduino 1.8.7 and these three libraries installed:
https://github.com/mcci-catena/arduino-lorawan
https://github.com/mcci-catena/arduino-lmic
https://github.com/mcci-catena/Catena-mcciadk
Target board is an "Adafruit Feather M0" installed from here:
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Thanks

@terrillmoore terrillmoore self-assigned this Nov 9, 2018
@terrillmoore
Copy link
Member

Thanks for your comments. Sorry for the problems. I'll look into that this weekend.

--Terry

@petesoper
Copy link
Author

To clarify the reference to "#3" above, I had mention of a limic_pinmap parameter mention shadowing a reference in the body of the second constructor and decided that wasn't important. So "#3" was about the shadowing that was just an artifact of the lack of a definition for limic_pinmap.
Thanks for jumping on this!

@terrillmoore
Copy link
Member

hi @petesoper -- i improved the readme, but I am working on an example. this interacts with a release that I'm doing for arduino-lmic, so it didn't get posted yesterday. I hope to get it done today.

terrillmoore added a commit that referenced this issue Nov 12, 2018
Fix #49: add compilable example, update README, add to travis
@terrillmoore
Copy link
Member

@petesoper I pushed this ahead of the arduino-lmic release. There's now a compilable equivalent of the readme program, and it's tested in continuous integration. Feel free to open a new issue if there's more stuff I missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants