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();
SerialUSB.write(currChar);
}
How can I isolate the (14/14) for example? Or something else to know that the module is indeed online??