I am experimenting with reducing noise levels on reading an analogue input. Currently I am getting a few bits of noise (readings vary by about 5 bits) even when I connect an AD input to a low impedance stable source like a 1.5V cell (for testing).
I thought I would try reducing RF noise by turning off the cellular modem before taking the reading. So I tried including the following in the loop() function:
// Turn off cellular for seconds.
// Keep application running.
// Low power usage.
System.sleep(seconds);
…as copied from the documentation (with seconds set to 10).
This causes the electron to loose connectivity over cellular and breathe what looks like white. I can see it is still running the app and have just tested it with the basic BlinkAnLed app. But I can no longer access the device e.g. using the diagnostics.