Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Customchar question

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
brianyzf
Posts: 6
Joined: March 12th, 2008, 9:18 am

Customchar question

Post by brianyzf »

HI all, this is my first post form this forum
i come form hong kong so english is not good.....sorry :cry:
i have one question about the customchar,
when i use "$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)" it can show
but when i use "$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)" it will be error....
what is the problem??
i saw another people also have two or more customchar but also show one the clcd, but when i use more then one customchar will be show"
chr: '58)' is not a valud integer value"
thank

Abi_J
Posts: 36
Joined: March 6th, 2008, 12:47 pm
Location: Teeny-weeny lil town, IL, USA

Post by Abi_J »

"$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)" had 2 characters trying to use the code 158, you need to change it so each custom character has a different character code, like...

"$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(176)"

You can have up to 8 custom characters on one screen at once, the codes you can assign them are...
176
158
131
132
133
134
135
136


Hope this helps,
Abi.

brianyzf
Posts: 6
Joined: March 12th, 2008, 9:18 am

Post by brianyzf »

thank for your reply, i have tried this,
but also the same problem.....

Abi_J
Posts: 36
Joined: March 6th, 2008, 12:47 pm
Location: Teeny-weeny lil town, IL, USA

Post by Abi_J »

what are you trying to display?
Post the code you are currently using for the screen so we can check for errors

$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(158)$CustomChar(2,4,10,4,0,0,0,0,0)$Chr(176) worked fine testing here, gave me a little flower and large ? symbol (my descriptions are terrible, i know).
Abi.

brianyzf
Posts: 6
Joined: March 12th, 2008, 9:18 am

Post by brianyzf »

i just only want the test and try use customchar...

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

check here

http://forums.lcdsmartie.org/viewtopic. ... ht=adapted

also search for custom characters programs on the forums.... there are few applications available can calculate the custom character

Post Reply