Page 1 of 1

Uart Help

Posted: Thu Sep 21, 2017 12:45 am
by marcus007
Hi Team,
I need to send data encoded from QR / Datamatrix to esp8266 via UART
So can you please help me what steps to follow which initialization to do .
Right now i have done only this

uart = UART(3, 115200)
uart.init(115200, bits=8, parity=NONE, stop=1)

any extra things to do?

& please also tell how to read uart

Thanks

Re: Uart Help

Posted: Thu Sep 21, 2017 1:08 am
by kwagyeman
Add timeout_char=1000 to the init call please.

For really good uart examples, see the Pixy Emulation script that uses the UART.

UART docs: http://docs.openmv.io/library/pyb.UART.html

Re: Uart Help

Posted: Thu Sep 21, 2017 3:36 am
by marcus007
Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D

Re: Uart Help

Posted: Wed Jun 20, 2018 4:05 pm
by Afgty
marcus007 wrote:
Thu Sep 21, 2017 3:36 am
Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D
can you help me to do so?

Re: Uart Help

Posted: Wed Jul 25, 2018 12:46 am
by marcus007
Sure I will
Afgty wrote:
Wed Jun 20, 2018 4:05 pm
marcus007 wrote:
Thu Sep 21, 2017 3:36 am
Thanks a lot Sir.
Made my Day
Done with UART & Nodemcu :D :D
can you help me to do so?