Show Posts
Pages: 1 [2] 3 4 ... 14
16  Forum 2005-2010 (read only) / Syntax & Programs / Re: Virtual Wire flush on: August 12, 2010, 03:13:58 am
Thank for your fast reply Paul.
Well, let me try to explain. I have a server that sends out default data every second (looping same message) to the client but at some point the client asks for other data. It takes about 10 seconds for the server to extraxt the data and send it out to the client. During that time the buffer in the client will present old default data that is not wanted at that point.
Data is presented in a LCD.

I do manage to get around my issue but would be more easy if i could flush the buffer.
17  Forum 2005-2010 (read only) / Syntax & Programs / Virtual Wire flush on: August 11, 2010, 03:53:57 pm

I am using the Virtual Wire library and am trying to flush the buffer.
Is it possible? What command to use?
18  Forum 2005-2010 (read only) / Syntax & Programs / Re: Virtual Wire compile error on: August 14, 2009, 02:38:54 am
Almost works with IDE 16 .
Error code i get is:

Code:
c:/program files/arduino/arduino-0016/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


c:/program files/arduino/arduino-0016/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'

Need to add only :
Code:
#undef round
19  Forum 2005-2010 (read only) / Syntax & Programs / Re: Virtual Wire compile error on: July 19, 2009, 04:25:11 am
Now i got it right.
Adding this to the code before compiling did solve the issue.

Code:
#undef int
#undef abs
#undef double
#undef float
#undef round

Thanks Phil
20  Forum 2005-2010 (read only) / Syntax & Programs / Re: Virtual Wire compile error on: July 18, 2009, 12:10:36 pm
Made a search on th error "math.h:439" and found no solution to it, only one post by somebody else that notice the issue.

I also removed the o-file in the library to be sure that it as not that messing up things but no change.
21  Forum 2005-2010 (read only) / Syntax & Programs / Re: Virtual Wire compile error on: July 18, 2009, 11:59:31 am
Strange is that i have the same error with Arduino-0012 and 0014?

Code:
In file included from C:\Program Files\Arduino\arduino-0012\hardware\cores\arduino/WProgram.h:6,


c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'


c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


22  Forum 2005-2010 (read only) / Syntax & Programs / Virtual Wire compile error on: July 18, 2009, 08:42:08 am
When i try to compile one of the virtual wire examples from the download library at http://www.open.com.au/mikem/arduino/VirtualWire-1.3.zip
i get following error message, something wrong in the library or could it be just my fault?

Code:
In file included from C:\Program Files\Arduino\arduino-0015\hardware\cores\arduino/WProgram.h:6,


c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'


c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'

23  Forum 2005-2010 (read only) / Syntax & Programs / Re: Serial. println(""""); on: April 20, 2009, 02:37:48 pm
Thanks a lot, it works!

Think that information should be added to the arduino reference area.

24  Forum 2005-2010 (read only) / Syntax & Programs / Serial. println(""""); on: April 20, 2009, 02:04:21 pm
Is it possible to serial print the sign " ?
I need to use that sign in AT command but clearly not possible if i try with:

Serial.println("AT+CPMS="ME"");
25  Forum 2005-2010 (read only) / Syntax & Programs / Re: Serial LCD on: November 05, 2008, 02:16:10 pm
By the way, will Tx/Rx controlled by this library be slower then using the real Tx/Rx pins.
And are we talking micro or milli seconds in delay?
26  Forum 2005-2010 (read only) / Syntax & Programs / Re: Serial LCD on: November 05, 2008, 02:11:06 pm
http://www.arduino.cc/en/Tutorial/SoftwareSerial

Did not know that was possible, great!
Everyday something new to learn... smiley
27  Forum 2005-2010 (read only) / Syntax & Programs / Re: Serial LCD on: November 04, 2008, 08:57:04 am
I have feeling you would need two serial out ports to adress two diffrent serial LCD´s with different values.

Arduino is equiped with only one serial port, check
http://www.sanguino.cc
28  Forum 2005-2010 (read only) / Syntax & Programs / Re: Software reset? on: October 29, 2008, 11:29:57 am
Thanks etracer,

That is the same code i used but it did not work for me but then i am using a ATMega644 and sanguino bootloader that may be the problem.

No high priority on this for me right now mem ...
29  Forum 2005-2010 (read only) / Syntax & Programs / Re: Software reset? on: October 29, 2008, 10:56:20 am
Mem,

Did try the reset code but it actually just ended my code maked it frezze. Any pointers to what i could have done wrong?

Etracer,

Did you get it working?
30  Forum 2005-2010 (read only) / Syntax & Programs / Re: Arithmetic Operator question on: October 23, 2008, 11:19:15 am
Mem,

I see, thanks.
Will there possibly be a change of the KS0108 library in the future or the temporary solution is here to stay ?
Pages: 1 [2] 3 4 ... 14