Hallo,
I have an array of char
sign : array [0..3] OF CHAR;
And will give it out on LCD one part after another for rotating - / - \
LCD_OUT(1,16,sign[0]);
But this till make a failure because simple and complex Type:-(
Ho can I give out a part of an array of char?
array of chat to string
Re: array of chat to string
Hi,
I'm not sure that I understand you correctly, can you please clarify your question ?
Regards,
Filip.
I'm not sure that I understand you correctly, can you please clarify your question ?
Regards,
Filip.
Re: array of chat to string
I want to display these characters one after the other on the display, as a status check, as if it is turning - / - - \.
Re: array of chat to string
LCD_OUT(1,16,''+sign[0]);
Re: array of chat to string
I think my mistake was that I use VAR and not const....
Re: array of chat to string
Code: Select all
LCD_Chr(1,16,sign[0]);
LCD_OUT(1,10,sign);
Re: array of chat to string
@serg1980
My goal is to give out
LCD_Chr(1,16,sign[0]);
then
LCD_Chr(1,16,sign[1]);
then
LCD_Chr(1,16,sign[2]);
then
LCD_Chr(1,16,sign[3]);
and repeat this
My goal is to give out
LCD_Chr(1,16,sign[0]);
then
LCD_Chr(1,16,sign[1]);
then
LCD_Chr(1,16,sign[2]);
then
LCD_Chr(1,16,sign[3]);
and repeat this
Re: array of chat to string
Did you check it this way
LCD_OUT(1,16,''+sign[0]);
LCD_OUT(1,16,''+sign[1]);
LCD_OUT(1,16,''+sign[2]);
LCD_OUT(1,16,''+sign[3]);
use ' '+
it works.
LCD_OUT(1,16,''+sign[0]);
LCD_OUT(1,16,''+sign[1]);
LCD_OUT(1,16,''+sign[2]);
LCD_OUT(1,16,''+sign[3]);
use ' '+
it works.