Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Can't add chr(0) from Deflcdchar to a string : REPLY

$
0
0
a simple solution is to use a character not used by you like chr(250) for example. then when you need to show the data, make a for next loop and get the character from the string with mid(). you can then check for 250 and replace it with a chr(0). All other chars would be printed/lcd-ed as normal. another similar way would be to alter the lcd driver.

Viewing all articles
Browse latest Browse all 20563

Trending Articles