Skip to content

Instantly share code, notes, and snippets.

@dmiddlecamp
Created February 6, 2017 23:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmiddlecamp/81578b3ac369abb4c2a7c7d1f1ac1291 to your computer and use it in GitHub Desktop.
Save dmiddlecamp/81578b3ac369abb4c2a7c7d1f1ac1291 to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
}
void loop() {
CellularSignal sig = Cellular.RSSI();
String line = String::format("Cellular signal strength: %d (-dBm), link quality: %d (dB)",
sig.rssi, sig.qual
);
Serial.println(line);
delay(500);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment