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:
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.
You do not have the permission required to post.
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?
On Wednesday, March 21, 2012 6:58:51 AM UTC-5, Antoni wrote:
> 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.
You do not have the permission required to post.
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 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?
> On Wednesday, March 21, 2012 6:58:51 AM UTC-5, Antoni wrote:
> > 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.
You do not have the permission required to post.
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.
You do not have the permission required to post.
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 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.
You do not have the permission required to post.
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 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.
You do not have the permission required to post.
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 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.
You do not have the permission required to post.