From: Michael R. <re...@eu...> - 2004-03-07 16:56:12
|
Hi Stolz, > I'm using the CVS version of lcd4linux. > I want to write on LCD the > Celsius (=BA) character, (which has the 8 bits code 1101 1111) as the > postfix of my Temp Widget. How can I do it? Specify the ascii code as octal after a backslash. In your example, 11011111 is decimal 223 or octal 337. Try a Postfix of=20 '\337' As for your other questions: > I've upgraded my lcd4linux to the CVS version, but the > config file has changed a lot ;) It has, indeed :-) > Where can I find a sort explanation about all the 'fields' > than I can use in the Widget struct, and what values do they > accept? I'm afraid there is none at the moment. To get just a list of all=20 possible entries, do a 'grep cfg_ widget_*.c' > but I'm not sure about using the others fields,specially the > field 'expresion', and I don't know if the above arguments > are all those fields support. An expression is, as the name implies, an expression :-) you can specify a (static) string by enclsoing it inside singel quotes=20 (e.g. 'this is a string') But you can use any (mathematical and string) expression you like, as in 2*3+4 or strlen(cfg('Display')) or cpu('busy', 500) all of the 'functions' have been registered as so called 'plugins'. I'm=20 afraid there is no up-to-date list of plugins and/or functions, too. So the only possibility at the moment would be UTSL. The current CVS code should be released as 0.10.0 in a few weeks, until=20 then there will be documentation. --=20 Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |