Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <SoftwareSerial.h>
  2. #include <helium.h>
  3.  
  4. //declare the helium modem
  5. HeliumModem *modem;
  6.  
  7. void setup() {
  8. Serial.begin(115200);
  9. modem = new HeliumModem();
  10. }
  11.  
  12. void loop()
  13. {
  14. ModemStatus *ms = modem->getStatus();
  15. Serial.println(ms->lqi);
  16. delay(2000);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement