LCD(3) One-Wire File System LCD(3)NAMELCD - LCD controller
SYNOPSIS
1-wire LCD controller by Louis Swart
FF [.]XXXXXXXXXXXX[XX][/[ backlight | counters.[0-3|ALL] | cumula‐
tive.[0-3|ALL] | branch.[0-1|ALL] | data | gpio.[0-3|ALL] | LCDon |
line16.[0-3|ALL] | line20.[0-3|ALL] | line40.[0|1|ALL] | memory | reg‐
ister | screen16 | screen20 | screen40 | version | ]]
FAMILY CODE
FF
SPECIAL PROPERTIES
backlight
write-only,yes-no
Write a non-zero value to turn on the LCD backlight. Write zero to turn
off.
counters[0-3,ALL]
read-only,unsigned integer
Read the number of times the gpio has been externally changed. If wired
to a push switch, will count twice per button press. The LCD firmware
resets all the counter when any one is read. Use the ALL extension to
read them all, simultaneously, or use the cumulative property instead.
ALL is an aggregate of the properties, comma separated. Read atomi‐
cally.
cumulative[0-3,ALL]
read-write,unsigned integer
Cumulative sum of the counters property. To reset, write a zero. The
cumulative counter can have any value written, which allows preserva‐
tion of counts accross program restarts if the value at program termi‐
nation is stored.
Reading cumulative will reset the counters property. All the cumulative
counters will be updated so that no counts will be lost. Reads of coun‐
ters can be interspersed without losing cumulative accuracy.
Note: cumulative requires the caching system be compiled into libow.
ALL is an aggregate of the properties, comma separated.
data
read-write,unsigned int
Contents of the LCD data byte (see datasheet). Not usually needed.
LCDon
write-only,yes-no
Write a non-zero value to turn on the LCD screen (also clears). Write a
zero to turn off.
line16[0-3,ALL] line20[0-3,ALL] line40[0-1,ALL]
write-only,ascii
Write text to the LCD screen. Assumes 16/20/40 char width. (Cannot be
determined from controller).
ALL is an aggregate of the properties, comma separated. Each is set in
turn.
memory
read-write,binary
112 bytes of on-board memory.
register
read-write,unsigned int
Contents of the LCD register (see datasheet). Not usually needed.
screen16 screen20 screen40
write-only,ascii
Write text to the LCD screen. Assumes 16/20/40 char width. (Cannot be
determined from controller).
version
read-only,ascii
Self-reported LCD controller version. 16 bytes.
STANDARD PROPERTIESALARMS
None implemented.
DESCRIPTIONLCD
The LCD (3) controller is a microprocessor driven device that simulates
the operation of 1-wire devices. It's creator has arbitrarily chosen
the family code FF. The controller requires external power. Full
details are available from the designer.
The main draw of the LCD controller is as any easy way to provide out‐
put to users.
ADDRESSINGDATASHEET
Available from http://www.louisswart.co.za/1-Wire_index.html
SEE ALSOAVAILABILITY
http://www.owfs.org
AUTHOR
Paul Alfille (paul.alfille@gmail.com)
OWFS Manpage 2003 LCD(3)