Go Down

Topic: How to get serial port data through programming port? (Read 664 times) previous topic - next topic

lightaiyee

I am using Arduino Due. I am using Serial.print() to send data out of the UART. Unfortunately, I cannot see data at the programming port. There is no problem when I use the same code code for Atmega2560.

Can I use Serial.print() to send data to the programming port?

CeeTee

Hi lightaiyee

I output data through the programming port by using Serial.println() or SerialUSB.println() for the native USB port.

Hope that helps.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy