Search found 2 matches

by qrobot
Wed Apr 24, 2019 9:00 am
Forum: ESP8266 boards
Topic: Feedback on uart_swap implementation
Replies: 5
Views: 2538

Re: Feedback on uart_swap implementation

I found this configuration method in BBS and the documentation but why did I get an error bbs:https://forum.micropython.org/viewtopic.php?t=3533 >>> uart=machine.UART(0,115200,tx=machine.Pin(13),rx=machine.Pin(15)) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: ext...
by qrobot
Wed Apr 24, 2019 8:24 am
Forum: ESP8266 boards
Topic: Feedback on uart_swap implementation
Replies: 5
Views: 2538

Re: Feedback on uart_swap implementation

[quote=Damien post_id=20686 time=1499581693 user_id=2] The way that this functionality would be exposed on the Python side is through the UART constructor, being able to specify explicitly the tx and rx pins. The usual way to access the UART peripheral is via: [code] uart = machine.UART(0, 9600) [/c...