UART Comms #489
Replies: 4 comments
-
Posted at 2014-05-30 by DrAzzy Yes - but I think you'd need to write code to move the console to UART4. I haven't tried this, except on UART1. If you use UART1 (A9/A10), it will automatically use that as the console if USB isn't connected (those are the same pins used by the HC-05 bluetooth<->serial module, if you install it, allowing you to connect over bluetooth and control it that way). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-05-30 by StuntMonkeh I see what you mean. The only reason for choosing UART4 is that those pins are UART only and no PWM.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-05-30 by DrAzzy I think you also need to do: Serial4.setConsole() |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-06-02 by @gfwilliams You may need something like this - to ensure that at startup, Espruino always swaps over to Serial4:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-05-30 by StuntMonkeh
Is it possible to program the Espruino without a USB cable?
For instance if I were to connect the Espruino UART4 (Pins C10 & C11) to a Raspberry Pi would I be able to send the Javascript commands to the Espruino without using a USB cable?
Beta Was this translation helpful? Give feedback.
All reactions