Skip to content
Snippets Groups Projects
Commit 2df10762 authored by Christoph Heinen's avatar Christoph Heinen
Browse files

timetable displaydriver

parent fa0031fd
Branches
No related tags found
No related merge requests found
--multidisplay driver for timetalbes
local displays = {
{"public_lcd1,1","public_lcd1,2","public_lcd1,3","public_lcd1,4","public_lcd1,5"},
{"public_lcd2,1","public_lcd2,2","public_lcd2,3","public_lcd2,4","public_lcd2,5"}
}
local station_name = "Neuland HBF unten"
local screen_width = 11
local screen_height = 5
local text = F.compile_fahrplan(station_name," | ",#displays[1]*screen_width)
if event.punch then
print('punch')
F.util.multidisplay_print(displays,text,line_break,screen_width,screen_height)
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment