Concatenate to a char array / converting integers?
hello!
recently started playing st7565 lcd screen using adafruit's library - still uses char arrays strings. plan screen use output debug info, problem trying build 1 long string out of variables have strewn about.
i've been kind of bad @ concat'ing strings together, char arrays whole other beast of frustration me. here's i'm trying do:
i have 3 variables - var1, var2, var3
what want send display "variable 1: (var1) variable 2: (var2) variable 3: (var3)" char array.
any tips?
recently started playing st7565 lcd screen using adafruit's library - still uses char arrays strings. plan screen use output debug info, problem trying build 1 long string out of variables have strewn about.
i've been kind of bad @ concat'ing strings together, char arrays whole other beast of frustration me. here's i'm trying do:
i have 3 variables - var1, var2, var3
what want send display "variable 1: (var1) variable 2: (var2) variable 3: (var3)" char array.
any tips?
quote
i have 3 variables - var1, var2, var3
and types of variables are..?
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Concatenate to a char array / converting integers?
arduino
Comments
Post a Comment