I'm trying to get Serial.print to work on the DUE, but it does not seem to work.
I have 1.8.13 IDE on a Mac
I tried both Native USB and Programming port
I tried all Serial variants: Serial, Serial1, Serial2, Serial3, SerialUSB.
None of these 10 combinations gave output. What am I doing wrong?
Not writting your code correctly, but who knows? You have not posted any!!!!!
It was not allowed to talk about your own projects here, so please give me a standard sample that does give output on the DUE. Just a working "HELLO ITALY" will help me.
I'm quite experienced into the regular code troubleshouting, and the code runs on UNO, LEO, BLE SENSE, Itsy Bitsy, M0, microbit, Pi Pico and some more, but NOT on the DUE. Maybe it is dead or obsolete and no longer working in 1.8.13. It is one of my oldest boards.
No code = No help, sorry.
Just post a basic sketch that does not work!
Have you tried using a Data USB cable?
The thing was I had to program through the Native port, then reconnect the board to the Programming port and show the Serial print from that. Somehow it does not work on the same port as you program through.
It was not allowed to talk about your own projects here
Where did you get that ?
After 46 posts you still don't understand that posting a basic sketch showing what's not working correctly for you is the least you could do if you are expecting any help ?
ard_newbie:
It was not allowed to talk about your own projects hereWhere did you get that ?
This is on top of this category:
Installation & Troubleshooting -
For problems with Arduino itself, NOT your project
I expect/maybe the school /college is not allowing people to get help here with coding ..???
But psst ... there are coms examples that show you what to do in the IDE ... file/examples
And .....A Google search quickly details serial stuff on the this too, have to scroll down a bit tho ...
hammy:
And .....A Google search quickly details serial stuff on the this too, have to scroll down a bit tho ...
A) Google is evil, telling people to Google things is waisting your time, they 99% chance already did that, preferably on a more privacy oriented search engine, B) I did read that, C) My solution is already a couple of posts above. The weird thing is somehow it does not work on the port you program through, so you need to swap plugs after uploading code....
Non taken , just trying to help
- the link I provided explains the use of the two ports on the Due . So it’s not weird .
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.