Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Test serial debug..
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Antoni  
View profile  
 More options Mar 21 2012, 7:58 am
From: Antoni <antoni.arti...@gmail.com>
Date: Wed, 21 Mar 2012 04:58:51 -0700 (PDT)
Local: Wed, Mar 21 2012 7:58 am
Subject: Test serial debug..
Hi,

I try use de debug console with "#define WEBDUINO_SERIAL_DEBUGGING 1"
in the first position...

"
#define WEBDUINO_SERIAL_DEBUGGING 1

#include "SPI.h"
#include "Ethernet.h"
#include "WebServer.h"
"

but i dont work??

I have Arduino 1 with Arduino Ethernet boar.

Thanks..

Pd.
sorry for may bad language..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Combee  
View profile  
 More options Mar 21 2012, 11:34 am
From: Ben Combee <ben.com...@gmail.com>
Date: Wed, 21 Mar 2012 08:34:59 -0700 (PDT)
Local: Wed, Mar 21 2012 11:34 am
Subject: Re: Test serial debug..

You don't say what you mean by it not working.  Does the sketch not run at
all or do you just not get any output on the serial monitor?

You can use

#define WEBDUINO_SERIAL_DEBUGGING 2

to get additional logging information.  Just look at the code in
WebServer.h to see where that macro is used.

If you use the Web_HelloWorld.ino example, are you able to see your
webserver from your computer?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoni  
View profile  
 More options Mar 21 2012, 1:49 pm
From: Antoni <antoni.arti...@gmail.com>
Date: Wed, 21 Mar 2012 10:49:16 -0700 (PDT)
Local: Wed, Mar 21 2012 1:49 pm
Subject: Re: Test serial debug..
Hi,

I tried with " #define WEBDUINO_SERIAL_DEBUGGING 2" on the first
position too, but i don't have any messages in the serial console..

I opened the "WebServer.h" and i found that it use the
"HardwareSerial.h", i have this file in Arduino (../cores/arduino/.)
and i can compile/verify and upload without any problem, but i don't
know the baud rate, i tried with 9600 and 57600 but it doesn't work
either.

I tried open "HardwareSerial.h" too but i can't understand any code...
(i am new with C++ and Adruino..).

Thank you,
Antoni

On 21 mar, 16:34, Ben Combee <ben.com...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Combee  
View profile  
 More options Mar 21 2012, 1:53 pm
From: Ben Combee <ben.com...@gmail.com>
Date: Wed, 21 Mar 2012 12:53:02 -0500
Local: Wed, Mar 21 2012 1:53 pm
Subject: Re: Test serial debug..
You won't see any messages until someone connects to the web server
over TCP/IP.  Have you been able to do that?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoni  
View profile  
 More options Mar 21 2012, 2:14 pm
From: Antoni <antoni.arti...@gmail.com>
Date: Wed, 21 Mar 2012 11:14:11 -0700 (PDT)
Local: Wed, Mar 21 2012 2:14 pm
Subject: Re: Test serial debug..
No, i don't see any messages until connected to the web server, i
tried with other sketch (Examples) and i work find!

Thank you,

On 21 mar, 18:53, Ben Combee <ben.com...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoni  
View profile  
 More options Mar 21 2012, 4:55 pm
From: Antoni <antoni.arti...@gmail.com>
Date: Wed, 21 Mar 2012 13:55:26 -0700 (PDT)
Local: Wed, Mar 21 2012 4:55 pm
Subject: Re: Test serial debug..
Hi Ben!!,

Can you test this property in you lab, please?

Thank you,

On 21 mar, 18:53, Ben Combee <ben.com...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoni  
View profile  
 More options Mar 22 2012, 5:43 am
From: Antoni <antoni.arti...@gmail.com>
Date: Thu, 22 Mar 2012 02:43:23 -0700 (PDT)
Local: Thurs, Mar 22 2012 5:43 am
Subject: Re: Test serial debug..
Hi Ben!!

I've gotten it to work!!, added this in the setup()

void setup()
{
..
..
#if defined WEBDUINO_SERIAL_DEBUGGING
  //  turn on serial port (for debuggin)
  Serial.begin(9600);
#endif

}

do you think is right?

Thank you very mach!!

On 21 mar, 18:53, Ben Combee <ben.com...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »