Wordclock/simulation/config.lua

22 lines
515 B
Lua
Raw Normal View History

2019-05-22 21:25:33 +02:00
green2=200
2021-11-01 11:53:34 +01:00
red=200
2019-05-22 21:25:33 +02:00
blue=200
2019-05-22 21:25:33 +02:00
color=string.char(0, 0, blue)
color1=string.char(red, 0, 0)
2021-11-01 11:53:34 +01:00
color2=string.char(tonumber(red*0.9), 0, 0)
color3=string.char(tonumber(red*0.8), 0, 0)
color4=string.char(tonumber(red*0.7), 0, 0)
colorBg=string.char(0,0,0) -- black is the default background color
sntpserverhostname="ptbtime1.ptb.de"
2018-01-17 21:11:42 +01:00
timezoneoffset=1
2021-03-26 22:44:18 +01:00
mqttServer="192.168.1.1"
mqttPrefix="test"
if (file.open("simulation.config.lua")) then
dofile("simulation.config.lua")
else
print("Default configuration, used")
end