According to the docs
"To use the REPL, you must connect to the serial USB device on the pyboard. How you do this depends on your operating system."
Is this literally true? Is it not possible use REPL via another communication channel, such as on of the UART pin-pairs?
repl without usb
- JonHylands
- Posts: 69
- Joined: Sun Dec 29, 2013 1:33 am
Re: repl without usb
My brother Dave had a patch at one point that allowed me to run the REPL over one of the UARTs. I don't know what the status is now.
Re: repl without usb
You can put the following in your boot.py: and that will cause the repl to show up on the usb serial as well as on UART6
Code: Select all
uart = pyb.UART(6,115200)
pyb.repl_uart(uart)
Re: repl without usb
Nice. Next step, REPL over radio.
-
- Posts: 288
- Joined: Sun May 04, 2014 8:54 am
Re: repl without usb
I'd love to see that!
I have some nRF24 modules here that I never got to work with Arduino.
I have some nRF24 modules here that I never got to work with Arduino.
Re: repl without usb
See here:Turbinenreiter wrote:I'd love to see that!
I have some nRF24 modules here that I never got to work with Arduino.
http://forum.micropython.org/viewtopic.php?f=2&t=255
I've just coded a wireless serial link along these lines using the nRF24. I'll let you know how it goes after I get a chance to test it.