forked from Mirrorlandia_minetest/digilines
Digilines is a mod for minetest which adds data bus wires
ab2eb4af43
Typeset the lines according to these rules (in order of subjective significance): * words that fit on the screen but would let the current line overflow are placed on a new line instead * " | " always forces a linebreak * spaces are included, except when there is a linebreak anyway * words with more characters than fit on screen are just chopped up, filling the lines as full as possible * don't bother typesetting more lines than fit on screen * if we are on the last line that will fit on screen |
||
---|---|---|
textures | ||
.gitignore | ||
.luacheckrc | ||
characters | ||
init.lua | ||
internal.lua | ||
inventory.lua | ||
lcd.lua | ||
LICENSE.txt | ||
lightsensor.lua | ||
mod.conf | ||
presetrules.lua | ||
README.inventory | ||
README.md | ||
rtc.lua | ||
screenshot.png | ||
settingtypes.txt | ||
util.lua | ||
wire_std.lua | ||
wires_common.lua |
Digilines
- The minetest counterpart for bus systems like i2c, SPI, RS232, USB -
- Minetest 5.0.0+ is required to use this mod.
This mod adds digiline wires, an RTC (Real Time Clock), a light sensor as well as an LCD Screen. Can be used together with the luacontroller from mesecons. See the luacontroller manual for more information.
Send "GET" to RTC or light sensor to retrieve Data, send any text to LCD to display it. Select channel by right-clicking items.
License: Code: LGPL Textures: WTFPL