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)
http://www.JO3RI.be

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

markbee

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

markbee
XBee blog: http://lookmanowire.blogspot.com/

JO3RI

http://www.JO3RI.be

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

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy