LCDproc development and user support list

Text archives Help

[Lcdproc] Degree symbol in bash script

Chronological Thread 
  • From: bsdfan at (Markus Dolze)
  • Subject: [Lcdproc] Degree symbol in bash script
  • Date: Sun, 27 Feb 2011 15:34:33 +0100

-------- Original-Nachricht --------
> Datum: Sun, 27 Feb 2011 14:21:39 +0000 (GMT)
> Von: "Dave Liquorice" <allsorts at>
> An: "lcdproc at" <lcdproc at>
> Betreff: Re: [Lcdproc] Degree symbol in bash script

> On Sun, 27 Feb 2011 13:37:04 +0000, Brian Platt wrote:
> > Does anyone know how to print a 'DEGREES' symbol to a HD44780 display
> via
> > a bash script?
> A quick google shows that the "degree" symbol is in the characters set at
> 0xDF, send that hex code from you bash script and it should display the
> sysmbol.
> --
> Cheers
> Dave.


I assume that you want to use LCDproc for writing to the display?

Then the above will most likely not work as the hd44780 driver maps
characters according to its configured charmap. Writing 0xDF to LCDd will
only work if you have a display with japanese character set and the charmap
is set to 'none' in the config.

Better is to write 0xB0 which is the degree character in ISO8859-1. It will
be mapped to the degree character on displays with the default and euro char


Archive powered by MHonArc 2.6.18.

Top of page