mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
I2C_LCD:
- replace unicode-chars by corresponding html-entities - remove direct update of state-reading (use stateFormat for that) git-svn-id: https://svn.fhem.de/fhem/trunk@6722 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e83daeb088
commit
85dbe75c47
@ -327,7 +327,6 @@ sub I2C_LCD_Set(@) {
|
||||
my $t = join(" ", @a);
|
||||
# set reading prior to regexp, could contain unprintable chars!
|
||||
main::readingsSingleUpdate($hash,"writeXY",$value." ".$t,1);
|
||||
readingsSingleUpdate($hash,"state",$t,1);
|
||||
$t = _i2c_lcd_replace($hash,$t);
|
||||
my $sl = length $t;
|
||||
if ($sl > $l) {
|
||||
@ -468,8 +467,8 @@ sub write {
|
||||
<li>autoBreak <on|off></li>
|
||||
<li>restoreOnStartup <on|off></li>
|
||||
<li>restoreOnReconnect <on|off></li>
|
||||
<li>replaceRegex ä=ae,cd+=ef,g=\x{DF}<br/>
|
||||
specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is ° on my lcd.
|
||||
<li>replaceRegex ä=ae,cd+=ef,g=\x{DF}<br/>
|
||||
specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is º on my lcd.
|
||||
</li>
|
||||
<li>customChar<0-7><br/>
|
||||
up to 8 5x8px custom chars, see http://www.quinapalus.com/hd44780udg.html for a generator, use \x{00} to \x{07} to display</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user