First time Papilo ZPUino


InmaculadaDiaz

Recommended Posts

It looks like your baud rate is not correct. Is it set to 9600 baud ?

 

Care to post the sketch you are testing ?

 

It's the tutorial "Run Hello World Example" : 
 
void setup() { 
  //Setup Serial port
  Serial.begin(9600); 
  // prints Hello World
  Serial.println("Hello World!");
}
 
void loop(){
  // prints Hello World over and over
  Serial.println("Hello World!");
}
 
Serial terminal is 9600 in ZAP and  Putty too.
Programmer: Papilio programmer
I have connected Papilio by USB at port COM5.
 
Thanks for quick reply :D
Link to comment
Share on other sites

Hello,

 

Is COM5 the second serial port that is showing up? If you unplug the Papilio you should see the COM ports go away, then plug it back in and see if two COM ports show back up. The second one that shows up should be the correct one.

 

The output you posted before looks like a speed mismatch... Can you try different speeds than 9600 and see if it's any better?

 

Thanks,
Jack.

Link to comment
Share on other sites

Hello,

 

Is COM5 the second serial port that is showing up? If you unplug the Papilio you should see the COM ports go away, then plug it back in and see if two COM ports show back up. The second one that shows up should be the correct one.

 

The output you posted before looks like a speed mismatch... Can you try different speeds than 9600 and see if it's any better?

 

Thanks,

Jack.

 

I do this: 
 
void loop(){
  // prints Hello World over and over
  Serial.println("Hello World!");
  Serial.println("22222");    // NEW
}
 
OUTPUT: 
Hello World!
22222
Hello World!
22222
...
 
awesome it works! but if i comment the NEW line again no.. i dont know why :(
I try with different speed and the output it's the same
 
Thanks!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.