Page 1 of 1

$Chr() display/find helper

Posted: April 11th, 2006, 7:21 pm
by fishthecat
My LCD displays a number of Japanese characters as well as englaish ones.
eg $Chr(219) is an empty square. As customchars are limited, finding useful Japanese ones like 219 would be very helpful as I can use then instead of a customchar.
I don't have a data sheet for my LCD so I have to manually type in the $Chr() values one after another and hit Apply, slowly cycling through them.

Could someone make a plugin which allows us to click an arrow to go up and down through the numbers and then displays the character on the LCD? Then people can quickly find all the in-build characters on their LCDs.

Maybe it could display something like: "Char#123 $Chr(123)"

Posted: April 11th, 2006, 7:25 pm
by limbo
You mean an application with some up/down control and a plugin for direct send the command to lcd?

I have already made a similar application for personal use.
I will modified next days and upload it!

Posted: April 11th, 2006, 8:40 pm
by hejmowski
Maybe it will be helpful
http://www.codeproject.com/csharp/csppl ... _table.gif

It is char map for typical english/japanease hd44780

Posted: April 11th, 2006, 8:48 pm
by Rafael
I have a plugin at home, that is Char counter? Returns a counter from 1 to 255 but this don?t have a button support!

For example

1 - $Char(1)
.
45 - $Char(45)
46 - $Char(46)
47 - $Char(47)
.
.
.
255 - $Char(255)

Do you want?

Posted: April 11th, 2006, 11:21 pm
by fishthecat
hejmowski wrote:Maybe it will be helpful
http://www.codeproject.com/csharp/csppl ... _table.gif

It is char map for typical english/japanease hd44780
Great, but how do I work out the chr number from that table?

Posted: April 11th, 2006, 11:32 pm
by hejmowski
1. Run calc.exe
2. Change mode to binary
3. Type four numbers from top of table in column that you choice to calc
4. Type four numbers from left of table in row that you choice
5. Change mode to decimal
6. It's your charcode

If you don't understand look here: http://hejmowski.ovh.org/chars_sample.png. It's self-explanatory

(I'm from Poland and my english is bad :))

Posted: April 11th, 2006, 11:36 pm
by fishthecat
hejmowski wrote:1. Run calc.exe
2. Change mode to binary
3. Type four numbers from top of table in column that you choice to calc
4. Type four numbers from left of table in row that you choice
5. Change mode to decimal
6. It's your charcode

If you don't understand look here: http://hejmowski.ovh.org/chars_sample.png. It's self-explanatory

(I'm from Poland and my english is bad :))
That works. Thanks a lot! :)

Posted: April 12th, 2006, 1:02 pm
by fishthecat
hejmowski wrote:Maybe it will be helpful
http://www.codeproject.com/csharp/csppl ... _table.gif

It is char map for typical english/japanease hd44780
Now that I can see what characters my LCD has in it, and can work out the Chr number, I don't really need this plugin.
I don't know if it'd still be useful for others, maybe people with non-standard LCD/VFDs?

Posted: September 22nd, 2006, 5:44 am
by lazybones
Another solution is just to dump all the possible options in one long line and let it scroll till you see what you want.

Code: Select all

1$Chr(1)2$Chr(2)3$Chr(3)4$Chr(4)5$Chr(5)6$Chr(6)7$Chr(7)8$Chr(8)9$Chr(9)10$Chr(10)11$Chr(11)12$Chr(12)13$Chr(13)14$Chr(14)15$Chr(15)16$Chr(16)17$Chr(17)18$Chr(18)19$Chr(19)20$Chr(20)21$Chr(21)22$Chr(22)23$Chr(23)24$Chr(24)25$Chr(25)26$Chr(26)27$Chr(27)28$Chr(28)29$Chr(29)30$Chr(30)31$Chr(31)32$Chr(32)33$Chr(33)34$Chr(34)35$Chr(35)36$Chr(36)37$Chr(37)38$Chr(38)39$Chr(39)40$Chr(40)41$Chr(41)42$Chr(42)43$Chr(43)44$Chr(44)45$Chr(45)46$Chr(46)47$Chr(47)48$Chr(48)49$Chr(49)50$Chr(50)51$Chr(51)52$Chr(52)53$Chr(53)54$Chr(54)55$Chr(55)56$Chr(56)57$Chr(57)58$Chr(58)59$Chr(59)60$Chr(60)61$Chr(61)62$Chr(62)63$Chr(63)64$Chr(64)65$Chr(65)66$Chr(66)67$Chr(67)68$Chr(68)69$Chr(69)70$Chr(70)71$Chr(71)72$Chr(72)73$Chr(73)74$Chr(74)75$Chr(75)76$Chr(76)77$Chr(77)78$Chr(78)79$Chr(79)80$Chr(80)81$Chr(81)82$Chr(82)83$Chr(83)84$Chr(84)85$Chr(85)86$Chr(86)87$Chr(87)88$Chr(88)89$Chr(89)90$Chr(90)91$Chr(91)92$Chr(92)93$Chr(93)94$Chr(94)95$Chr(95)96$Chr(96)97$Chr(97)98$Chr(98)99$Chr(99)100$Chr(100)101$Chr(101)102$Chr(102)103$Chr(103)104$Chr(104)105$Chr(105)106$Chr(106)107$Chr(107)108$Chr(108)109$Chr(109)110$Chr(110)111$Chr(111)112$Chr(112)113$Chr(113)114$Chr(114)115$Chr(115)116$Chr(116)117$Chr(117)118$Chr(118)119$Chr(119)120$Chr(120)121$Chr(121)122$Chr(122)123$Chr(123)124$Chr(124)125$Chr(125)126$Chr(126)127$Chr(127)128$Chr(128)129$Chr(129)130$Chr(130)131$Chr(131)132$Chr(132)133$Chr(133)134$Chr(134)135$Chr(135)136$Chr(136)137$Chr(137)138$Chr(138)139$Chr(139)140$Chr(140)141$Chr(141)142$Chr(142)143$Chr(143)144$Chr(144)145$Chr(145)146$Chr(146)147$Chr(147)148$Chr(148)149$Chr(149)150$Chr(150)151$Chr(151)152$Chr(152)153$Chr(153)154$Chr(154)155$Chr(155)156$Chr(156)157$Chr(157)158$Chr(158)159$Chr(159)160$Chr(160)161$Chr(161)162$Chr(162)163$Chr(163)164$Chr(164)165$Chr(165)166$Chr(166)167$Chr(167)168$Chr(168)169$Chr(169)170$Chr(170)171$Chr(171)172$Chr(172)173$Chr(173)174$Chr(174)175$Chr(175)176$Chr(176)177$Chr(177)178$Chr(178)179$Chr(179)180$Chr(180)181$Chr(181)182$Chr(182)183$Chr(183)184$Chr(184)185$Chr(185)186$Chr(186)187$Chr(187)188$Chr(188)189$Chr(189)190$Chr(190)191$Chr(191)192$Chr(192)193$Chr(193)194$Chr(194)195$Chr(195)196$Chr(196)197$Chr(197)198$Chr(198)199$Chr(199)200$Chr(200)201$Chr(201)202$Chr(202)203$Chr(203)204$Chr(204)205$Chr(205)206$Chr(206)207$Chr(207)208$Chr(208)209$Chr(209)210$Chr(210)211$Chr(211)212$Chr(212)213$Chr(213)214$Chr(214)215$Chr(215)216$Chr(216)217$Chr(217)218$Chr(218)219$Chr(219)220$Chr(220)221$Chr(221)222$Chr(222)223$Chr(223)224$Chr(224)225$Chr(225)226$Chr(226)227$Chr(227)228$Chr(228)229$Chr(229)230$Chr(230)231$Chr(231)232$Chr(232)233$Chr(233)234$Chr(234)235$Chr(235)236$Chr(236)237$Chr(237)238$Chr(238)239$Chr(239)240$Chr(240)241$Chr(241)242$Chr(242)243$Chr(243)244$Chr(244)245$Chr(245)246$Chr(246)247$Chr(247)248$Chr(248)249$Chr(249)250$Chr(250)251$Chr(251)252$Chr(252)253$Chr(253)254$Chr(254)255$Chr(255)

Sorry about the formating.. Wanted to make it easy to copy and paste.

Posted: April 11th, 2007, 4:25 pm
by fishthecat
lazybones wrote: Another solution is just to dump all the possible options in one long line and let it scroll till you see what you want.

Sorry about the formating.. Wanted to make it easy to copy and paste.
Ha ha ha! :lol: That's brilliant. I can use that on any LCD/VFD now and pick out the useful extra characters. Thanks.