Go Down

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


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)


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.  :~



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


Go Up