ttyAMA0 is the Raspberry Pi's built-in UART - it'll be sending characters to a pin on the Pi's pin header.
It's a good sign that is working - if you plugged in a USB device it should appear as /dev/ttyACM0 and assuming the baud rate is correct it'd work fine
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.
What kind of device are you trying to connect to?
ttyAMA0 is the Raspberry Pi's built-in UART - it'll be sending characters to a pin on the Pi's pin header.
It's a good sign that is working - if you plugged in a USB device it should appear as
/dev/ttyACM0
and assuming the baud rate is correct it'd work fine