Are you trying the GPS out while connected to Bluetooth?
<- Serial1 means that Bluetooth disconnected and the JS console moved over to Serial1, which is the default - then it moved back to Bluetooth when you reconnected. Using Bluetooth.setConsole(1) would fix that - but it shouldn't be your issue.
If you disconnect the GPS, then short RX and TX together, I bet you'll find that Serial1.println("Hello") will cause data to be printed to the console.
I'd try the LED thing - but if that's flashing about the only other thing could be that the GPS is using a different baud rate (even if 9600 is the default for most GPS systems)
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.
Are you trying the GPS out while connected to Bluetooth?
<- Serial1
means that Bluetooth disconnected and the JS console moved over to Serial1, which is the default - then it moved back to Bluetooth when you reconnected. UsingBluetooth.setConsole(1)
would fix that - but it shouldn't be your issue.If you disconnect the GPS, then short RX and TX together, I bet you'll find that
Serial1.println("Hello")
will cause data to be printed to the console.I'd try the LED thing - but if that's flashing about the only other thing could be that the GPS is using a different baud rate (even if 9600 is the default for most GPS systems)