polona1010
Member level 1
- Joined
- Apr 17, 2013
- Messages
- 40
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,524
Hello
Can someone help me in Mikro C with lcd_out and text in array?
char code1[] = \\\"A1B2C3D4E5F6G7H8\\\"; - without this char \\ in this post this showup I cant remove that
When I print this code on LCD this is Ok:
Lcd_Out(1, 1, code1);
But when I want to show one character from code1 I get some bad bytes on LCD:
Lcd_Out(2, 1, code1[3]); - I think this will show 3 character from array but I get some bytes on lcd
Lcd_Out(2, 1, code1[1]); - I get nothing on LCD
Can someone help me to get one character from string in Mikro C 6 ?
Can someone help me in Mikro C with lcd_out and text in array?
char code1[] = \\\"A1B2C3D4E5F6G7H8\\\"; - without this char \\ in this post this showup I cant remove that
When I print this code on LCD this is Ok:
Lcd_Out(1, 1, code1);
But when I want to show one character from code1 I get some bad bytes on LCD:
Lcd_Out(2, 1, code1[3]); - I think this will show 3 character from array but I get some bytes on lcd
Lcd_Out(2, 1, code1[1]); - I get nothing on LCD
Can someone help me to get one character from string in Mikro C 6 ?