mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
640 stars 208 forks source link

Include Hello-World for Sensors with 2.2.0 #104

Closed brentru closed 6 years ago

brentru commented 6 years ago

Library should have an example to demonstrate sending a multi-value payload from a sensor using the LMIC_f2sflt16 function added in 2.2.0.

terrillmoore commented 6 years ago

Good idea. I'd do it based on one of MCCI boards, but that is probably assuming more customer investment. We could measure Vbat and send it, that's really very cool, and that will work on the Feather M0 stand-alone. If you have a lib for the CPU temperature, we could use that too. Check out the Vbat traces as part of https://ithaca-power.mcci.com/ -- you'll need to sign up, but it's permissive. It's very exciting to watch the battery discharge (oddly enough).

brentru commented 6 years ago

I'm working on one for a learnguide I'm writing with a DHT22 and a Feather M0 LoRa. I'll do a PR when ready.

terrillmoore commented 6 years ago

Fixed by #108.