i am trying to display the celcius circle °C but i can't get it on screen all i get is a strange character ..
Is this possible ? i use this python code started from XBMC
lcd_cmd('widget_set ' + screen + ' lcd_page0 1 1 "' + u"\u00B0" + '"')
I found the ISO 8859-1 character in the server/drivers/glcd_font5x8.h source file … so it seems possible ??
= {b__OO__, b_O__O_, b_O__O_, b__OO__, b______, b______, b______, b______},
P.S. i am using a VLSystems MPLAY 202 (lis) VFD display
Found it !!
First i found the the "lis" driver i was using wasn't supporting the character So i changed the file: /usr/local/etc/LCDd.conf
[s]Driver=lis [/s] Driver=hd44780 ## Hitachi HD44780 driver ## [hd44780] ConnectionType=mplay # Port=0x378 Device=/dev/ttyUSB0 Speed=38400 CharMap=hd44780_default
And made this changes to my python script
1 2 3 4
#!/usr/bin/env python [b]# -*- coding: utf8 -*-[/b] msg_line1 = [b]u'[/b]widget_set {0} lcd_page{1} 1 {2} "{3:4.1f}°C {4:2s}%"'.format(screen, str(lcd_line_nr),str(lcd_line_nr + 1),TEMP,VOCHT) lcd_cmd(msg_line1[b].encode('latin-1')[/b])
Log in to post a comment.
i am trying to display the celcius circle °C but i can't get it on screen
all i get is a strange character ..
Is this possible ?
i use this python code started from XBMC
I found the ISO 8859-1 character in the server/drivers/glcd_font5x8.h source file …
so it seems possible ??
= {b__OO__,
b_O__O_,
b_O__O_,
b__OO__,
b______,
b______,
b______,
b______},
P.S. i am using a VLSystems MPLAY 202 (lis) VFD display
Found it !!
First i found the the "lis" driver i was using wasn't supporting the character
So i changed the file: /usr/local/etc/LCDd.conf
And made this changes to my python script