Using REPL Through UART

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
geneworld
 
Posts: 17
Joined: Thu Sep 12, 2013 3:01 pm

Using REPL Through UART

Post by geneworld »

Hey Guys,

Is it possible to use Circuit Python's REPL mode through the TX/RX UART pins on the boards?

User avatar
tannewt
 
Posts: 3298
Joined: Thu Oct 06, 2016 8:48 pm

Re: Using REPL Through UART

Post by tannewt »

Not currently, no. We support USB consistently across all boards.

User avatar
geneworld
 
Posts: 17
Joined: Thu Sep 12, 2013 3:01 pm

Re: Using REPL Through UART

Post by geneworld »

Awe man, would've made my project more streamlined.

Okay thanks for letting me know!!

User avatar
kmatch
 
Posts: 16
Joined: Sun Sep 03, 2017 12:17 am

Re: Using REPL Through UART

Post by kmatch »

It’s kinda hacky, but you can “intercept” the REPL and receive input via UART. I did it here taking input from UART (from a keyboard). The display showed the output, but you should be able to send it out via UART if you want to:

https://hackaday.io/project/171269-cybe ... n-anatidae

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”