Serial2.setup(9600, { tx: 16, rx: 17 }); var at = require('AT').connect(Serial2); setInterval(() => { at.debug(); at.write('AT/r/n'); }, 3000);
How do I get the response in string format. I'm getting debug output like this: "\u00C1\u00DD?\u00F2?\u00FF"
@user151021 started
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.
How do I get the response in string format.
I'm getting debug output like this: "\u00C1\u00DD?\u00F2?\u00FF"