Forums > MaxMSP

ARDUINO and ASCII data string

April 2, 2009 | 2:44 pm

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


April 3, 2009 | 1:35 am
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.


April 3, 2009 | 4:42 pm

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


Viewing 3 posts - 1 through 3 (of 3 total)