Pages: [1]   Go Down
Author Topic: Nothing appears on arduino DUE screen  (Read 944 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all.

I am trying to run a very simple "Hello World" code, but nothing appears on my serial screen
Evetything looks fine, arduino is connected, the code is compiled, and succesfully verified. But nothing appears on screen. Here is my code, any ideas?

void setup()                    // run once, when the sketch starts
{
  Serial.begin(9600);           // set up Serial library at 9600 bps
  

}

void loop()                       // run over and over again
{
 Serial.println("Hello world!");        // prints hello with ending line break                            
}
« Last Edit: March 07, 2014, 05:04:12 am by panpap » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone? please....
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Still nothing, in all the computers i've tried!

Any help? Please!
Logged

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 143
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you connect using programming or native port?
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

native port. When i use programming port i get the following error:

SAM-BA operation failed
« Last Edit: March 12, 2014, 03:23:03 am by panpap » Logged

Offline Offline
Jr. Member
**
Karma: 1
Posts: 80
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you use the native port you muste use "SerialUSB" for communication with the computer.
Logged

L.C.

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 143
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you use the native port you muste use "SerialUSB" for communication with the computer.
Exactly. Thats why I asked.
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, what should i do? Can you please help me a litle more on that?
I had never used the Due board before and i am really annoyed at the moment...
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I used the Programming Port and it finally works! But i think prefer the Serial one, just because the arduino box is only designed for this one!
Logged

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 143
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When using the native port, do it like this:
Code:
void setup()                    // run once, when the sketch starts
{
  SerialUSB.begin(9600);           // set up Serial library at 9600 bps
}

void loop()                       // run over and over again
{
 SerialUSB.println("Hello world!");        // prints hello with ending line break                             
}
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

Pages: [1]   Go Up
Jump to: