I have seen it since i am fiddling with the serial connection, but so far no reliable way to get it yet. I also just upgraded to 1.93 154.
I lose the console connection. When I try to reconnect the computer to the Puck it gives me the lights and windows asks me to try again.
the code doesn't do much special,
//turn off serial connection
digitalWrite(D28,0);
digitalWrite(D29,0);
console.log("Turned off serial connection!");
//provide Serial ground and V
digitalWrite(D30,0);
digitalWrite(D31,1);
// Connect to serial device
Serial1.setup(115200, { rx: D29, tx : D28 });
var ATSMS = require("ATSMS");
var sms = new ATSMS(Serial1);
//Use sms.at.debug(); here if you want debug messages
sms.init(function(err) {
if (err) throw err;
console.log("Initialised!");
// and to send a message:
//sms.send('012345678','Hello me!');
});
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.
I have seen it since i am fiddling with the serial connection, but so far no reliable way to get it yet. I also just upgraded to 1.93 154.
I lose the console connection. When I try to reconnect the computer to the Puck it gives me the lights and windows asks me to try again.
the code doesn't do much special,