ARDUINO and ASCII data string

Apr 2, 2009 at 2:44pm

ARDUINO and ASCII data string

hi,

I try to put some text from Max5 to a 16×2 LCD display, via an arduino board.
All is right with hardware but i’m not fluent in C and C++. So i need help to find a way to tell arduino to understand ASCII data string like “hello world!”.
I suppose i need to declare this string, read it from serial, and then load it to LCD via lcd.print…

thanks a lot for your help !

fxw

#43162
Apr 3, 2009 at 1:35am
Francois Weber wrote on Thu, 02 April 2009 09:44
hi,

I try to put some text from Max5 to a 16×2 LCD display, via an arduino board.
All is right with hardware but i’m not fluent in C and C++. So i need help to find a way to tell arduino to understand ASCII data string like “hello world!”.
I suppose i need to declare this string, read it from serial, and then load it to LCD via lcd.print…

thanks a lot for your help !

fxw

not sure of the specifics, but [atoi] and/or [itoa] might help on the Max side, for formatting ASCII.

#154748
Apr 3, 2009 at 4:42pm

Hi,

Yes, thanks…

But all is right for me on the Max side…
Not on the arduino side…

Hope finding help on the arduino forum…

fxw

#154749

You must be logged in to reply to this topic.