Go Down

Topic: client.print(txt,BYTE) no longer works in Arduino 1.0 [solved] (Read 1 time) previous topic - next topic

JO3RI

Dec 06, 2011, 09:11 am Last Edit: Dec 06, 2011, 10: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)

markbee

Just use client.write() to get bytes. No special typedeclaring necessary.

markbee

JO3RI


Go Up