Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • renovate/configure
2 results

bundle.js

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    timetable_display-driver.lua 529 B
    --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