Dash network status LED

So I have been trying to make my power LED (This is a green LED on D10) solid during normal operation, and blink when the SIM is being initialized when first plugged in. Ive been trying the StringSubstring fuction, but cant get it working well. Since the following code is char based, and StringSubstring needs a string to work.

Here is how im writing to my serial screen:
char currChar;

while (SerialCloud.available()) {
currChar = (char)SerialCloud.read();

How can I isolate the (14/14) for example? Or something else to know that the module is indeed online??

Check out the existing example for SMS

Works like a charm, thanks for that.

1 Like

I forgot to mention, I have mine watching for the keyword ‘passthrough’ instead of “14/14”.