Peter Nerlich ab2eb4af43
LCDs: Rework line breaking algorithm, include spaces, show unknown symbols as spaces (#64)
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
2020-12-09 17:48:18 +01:00
2013-01-20 00:03:51 +01:00
2019-03-05 22:00:20 -08:00
2019-03-05 21:35:36 -08:00
2019-03-05 22:04:56 -08:00
2013-09-07 22:56:44 +02:00
2017-03-14 21:57:01 -07:00
2017-03-14 21:57:01 -07:00
2017-03-06 13:58:47 -08:00
2017-03-14 21:57:01 -07:00
2017-03-14 21:57:01 -07:00
2017-03-14 21:57:01 -07:00

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

Description
No description provided
Readme 197 KiB
Languages
Lua 100%