Thanks - yes, luckily we seem ok at the moment. Not sure why as we seem to have pissed terrorists off more than most. It's awful what's happened though.
The Pico red light thing could be because there's some issue with the SIM800 and you basically ended up shorting out 5V and GND? That would cause the Pico's diode that takes USB power to fry.
To check, you could try powering Espruino externally? Connect a breadboard power supply or battery between Bat and GND and see if the light goes off, and then try and connect via USB?
With the AT commands, I'm not sure what the problem is? You were just getting AT+CMGR=1 repeated back to you? If so, it's because you want to turn off echo with ATE0\r\n first... or you could work around it with:
at.cmd("AT+CMGR=1\r\n", 1000, function cb(d) {
if (d===undefined) ; // we timed out!
// d is now the result
if ( d == "AT+CMGR=1" ) return cb;
else console.log('AT+CMGR=1 result: ' + d);
});
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - yes, luckily we seem ok at the moment. Not sure why as we seem to have pissed terrorists off more than most. It's awful what's happened though.
The Pico red light thing could be because there's some issue with the SIM800 and you basically ended up shorting out 5V and GND? That would cause the Pico's diode that takes USB power to fry.
To check, you could try powering Espruino externally? Connect a breadboard power supply or battery between
Bat
andGND
and see if the light goes off, and then try and connect via USB?With the AT commands, I'm not sure what the problem is? You were just getting
AT+CMGR=1
repeated back to you? If so, it's because you want to turn off echo withATE0\r\n
first... or you could work around it with: