Go Down

Topic: client.print(txt,BYTE) no longer works in Arduino 1.0 [SOLVED] (Read 628 times) previous topic - next topic

JO3RI

Dec 06, 2011, 08:55 am Last Edit: Dec 06, 2011, 12:22 pm by JO3RI Reason: 1
I have been using EERPOM to save text. I did this by storing each letter (by using the according dec ASCII number) to an certain address and this worked very good. But now in Arduino 1.0, client.print(x,BYTE) no longer works. So when I want to show my text in a webpage I get numbers (DEC) instead of letters.

Now how can I convert the bytes stored in EEPROM back to letters, when I want to show them on LCD, screen, serial screen?

Like I said, in arduino 0.22 you could just use print(x,BYTE) or client.print(x,BYTE)

http://www.JO3RI.be

Nederlandstalige sectie - http://arduino.cc/forum/index.php/board,77.0.html -

JO3RI

Well, found a work around. When include the tv-out library, I can still use client.print(x, BYTE). Probably not the right way to do it.  :~
http://www.JO3RI.be

Nederlandstalige sectie - http://arduino.cc/forum/index.php/board,77.0.html -

westfw


JO3RI

#3
Dec 06, 2011, 12:19 pm Last Edit: Dec 06, 2011, 12:23 pm by JO3RI Reason: 1
All right, that's it, now i'm using
Code: [Select]
Client.write(x) for displaying letters and
Code: [Select]
Client.print(x) for displaying data

Thanks
http://www.JO3RI.be

Nederlandstalige sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up