Show Posts
Pages: [1] 2
1  Using Arduino / LEDs and Multiplexing / Re: PWM slope with arduino ethernet on: January 08, 2013, 10:44:17 am
Uh... I know, I'll Get a Book...   Naah, That is *money* I Think I'll search Google for that Free Wiki course on C++...

Bob


Man this forum isn't anything more than a bunch of smack talk. For whatever reason...I'm learning...MY BAD


Delete thread...I won't be back
2  Using Arduino / LEDs and Multiplexing / Re: PWM slope with arduino ethernet on: January 07, 2013, 02:49:59 pm
Thanks..

BUT I mean the coding for that... smiley-sad

Clueless how to code that...I figured the math out
3  Using Arduino / LEDs and Multiplexing / PWM slope with arduino ethernet on: January 07, 2013, 02:31:21 pm
Any ideas on how to accomplish a 0-255 slope over 8 hours and then back down again at the end of the time frame?

I have two PWM drivers for LEDs and need them to slowly slope over the duration and then back down again for night time.

THANKS!
4  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 07, 2013, 02:23:14 pm
issue resolved...thank you for everyone's help.
5  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 04:43:12 pm
You said that you have a sketch that just reads the serial data. So, after reading up the \n, how many characters are in the array? The readBytesUntil() method NULL terminates the array, so strlen() will tell you the length.


I'm sorry  but I can't get this function to work...could you lay it out in my code for me? So I can get an answer for you...Sorry I'm a noob
6  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 03:47:14 pm
<RA><T1>804</T1><T2>698</T2><T3>773</T3><PH>862</PH><R>248</R><RON>0</RON><ROFF>255</ROFF><ATOLOW>0</ATOLOW><ATOHIGH>0</ATOHIGH><EM>0</EM><REM>0</REM><PWMA>84</PWMA><PWMD>76</PWMD></RA>


This is the entire string...it repeats over and over and changes the values depending on what the serial receives from the headunit for values. IE:<T1>804</T1> can be the temperature reading that can change to 805 709 etc etc.
7  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 02:12:50 pm
Well it's not my server. I'm just trying to send the string to the server to display my data but the string gets corrupted at the end as seen in my above example
8  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 01:47:45 pm
Sending the GET command to the head unit. Then relay data to remote server. That server remotely displays data on a portal. But this code just sends GET then converts to the string output to relay it to the remote server.
9  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 01:29:38 pm
Thank you for the info. I'll look ASAP
10  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 01:09:08 pm
Lol don't know how to tell output size for the serial. What else do you need to know? No homework due today
11  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 11:52:31 am
I totally agree its memory related...but I'm not sure how to fix this with what I've got...any help please?
12  Using Arduino / Programming Questions / Re: string output corruption with ethernet arduino on: January 04, 2013, 11:36:52 am
What is the fix I can do to correct this?
Reduce the 400 character array that is consuming almost half of your available 2k RAM.

Move all client and serial.prints to PROGMEM like this:  Serial.print(F("Now in PROGMEM"));


Tried this and my server fails to start...so I have to back to my original
13  Using Arduino / Programming Questions / Re: serial output corruption with ethernet arduino on: January 04, 2013, 11:31:06 am
It is constant...but not sure how to tell how much is being sent
14  Using Arduino / Programming Questions / Re: string output corruption with ethernet arduino on: January 04, 2013, 11:20:25 am
I'm pretty noob at this thing...

so if i decrease the array by half (200) could this help?

OR would you be kind enough to help me with the corrections?
15  Using Arduino / Programming Questions / Re: string output corruption with ethernet arduino on: January 04, 2013, 11:17:05 am
Agreed. It is an out-of-memory condition

What is the fix I can do to correct this?
Pages: [1] 2