Direct serial communication via UART1 (USB socket)

eldadwasserman
Posts: 8
Joined: Tue Oct 31, 2017 7:44 am

Direct serial communication via UART1 (USB socket)

Postby eldadwasserman » Tue Oct 31, 2017 8:33 am

Hi,
My ARDUIN-EPS development with the ARDUINO IDE is working good. I have problems to migrate this code to ESP-IDF especially with communication via the USB cable... so, because fprint is adding 0D to my streaming data to the PC via the USB cable, and because I didn't succeed to get rid of this issue I am searching for a way of 2 ways communication via the USB cable directly without using the fprint command. Anyone can help here ???

Thanks

Eldad

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Direct serial communication via UART1 (USB socket)

Postby ESP_Sprite » Tue Oct 31, 2017 4:55 pm

In make menuconfig, there's a option (component config -> ESP32-specific -> Line ending for UART output) where you can configure this.

eldadwasserman
Posts: 8
Joined: Tue Oct 31, 2017 7:44 am

Re: Direct serial communication via UART1 (USB socket)

Postby eldadwasserman » Tue Nov 07, 2017 12:51 am

thanks for your help.... I was trying to update no line ending and I am getting error...

Who is online

Users browsing this forum: Baidu [Spider] and 168 guests