Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SoftwareSerial.h>
- #include <helium.h>
- //declare the helium modem
- HeliumModem *modem;
- void setup() {
- Serial.begin(115200);
- modem = new HeliumModem();
- }
- void loop()
- {
- ModemStatus *ms = modem->getStatus();
- Serial.println(ms->lqi);
- delay(2000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement