Commit Graph
7 Commits
Author SHA1 Message Date
VanessaE dddb52c454 add minimum minetest version key for contentdb 2020-06-03 13:00:27 -04:00
Vanessa Dannenberg 50a0cf8bc8 fix undeclared global var
( fixes #2 )
2019-03-31 00:47:00 -04:00
Vanessa Dannenberg 6bd1ad704c license fixups: use LGPL 3.0 for code, CC-by-SA 4.0 for media 2018-11-08 18:42:30 -05:00
Vanessa Dannenberg 39fd675c3a update readme to follow 2018-08-15 17:57:23 -04:00
Vanessa Dannenberg 975741cfe8 move "cursor" to char(31), move "all on" to char(144)
(to match what's used in led_marquee)
2018-08-15 17:46:27 -04:00
Vanessa Dannenberg dcfac384fc update readme to follow 2018-08-14 20:03:53 -04:00
Vanessa Dannenberg 83dced745d rudimentary multi-tube string support
digiline_send(channel, "some string") will now echo "some string"
to all alphanumeric tubes in a lineup, so long as they all face
the same way, starting from the nixie the LuaC is connected to,
going left to right.  The other tubes in the line do not need to
be connected to anything - think of them as being connected
toghether internally.

The string will spread until either a tube is found that faces the
wrong way, or it has a channel that's not empty/nil and is set to
something other than what the first is set to, or if a node is
encountered that is not an alpha-numeric tube at all.

Tubes to the left of the connected one are ignored; you can put
multiple lines of tubes side by side, so long as each tube that
starts each line has a unique channel.

The string is padded with spaces and trimmed to 64 chars.

Special messages:

"off_multi" turns all tubes in the lineup off
"allon_multi" turns on all anode segments of all tubes in the lineup.

Note that the existing messages "get" and "getstr" will only read
the one character from the first, connected tube, not the others
in the lineup.
2018-08-14 19:38:18 -04:00