I had one around, (exactly this: https://www.sparkfun.com/products/12574) and tried interfacing. It's been pretty easy, I just connected pin 11 to 3.3v, pin 12 to GND, pin 13 to A2 and pin 14 to A3 and that was it.
s = Serial2;
s.setup(115200, { parity:'none', bytesize:8, stopbits:1 });
s.onData(function(d) {
var data = d.data;
print(d.data);
});
With this code I can echo stuff written to the corresponding serial port on the pc.
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 had one around, (exactly this: https://www.sparkfun.com/products/12574) and tried interfacing. It's been pretty easy, I just connected pin 11 to 3.3v, pin 12 to GND, pin 13 to A2 and pin 14 to A3 and that was it.
With this code I can echo stuff written to the corresponding serial port on the pc.