From 265acf710f26d8dc6ad78e3a65d2e36fb958276d Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 15:03:29 +0200 Subject: State at 2023-11-28 --- il_timetable/init_code.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'il_timetable/init_code.lua') diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua index a4aee4e..15c760e 100644 --- a/il_timetable/init_code.lua +++ b/il_timetable/init_code.lua @@ -445,8 +445,9 @@ end station = "The Cube", title = "The Cube (Track 2)", interval = 30, - display1 = "display1", - display2 = "display2", + display1 = "d1", + display2 = "d2", + display3 = "d3" }]] function F.ttp_station_display(p) --L425 @@ -515,6 +516,15 @@ if p.display2 then end digiline_send(p.display2, text2) end +if p.display3 then + local text3 = "" + for i=8,11 do + if next_trains[i] then + text3 = text3 .. next_trains[i].text .. "\n" + end + end + digiline_send(p.display3, text3) +end --if not p.notimer then -- schedule_in(p.interval or 30,"foo") --end -- cgit v1.2.3