22 lines
518 B
Lua
22 lines
518 B
Lua
green2=200
|
|
red=128
|
|
blue=200
|
|
|
|
color=string.char(0, 0, blue)
|
|
color1=string.char(red, 0, 0)
|
|
color2=string.char(tonumber(red*0.8), 0, 0)
|
|
color3=string.char(0, tonumber(green2*0.4), 0)
|
|
color4=string.char(0,0 ,tonumber(blue*0.2))
|
|
|
|
colorBg=string.char(0,0,0) -- black is the default background color
|
|
sntpserverhostname="ptbtime1.ptb.de"
|
|
timezoneoffset=1
|
|
mqttServer="192.168.1.1"
|
|
mqttPrefix="test"
|
|
|
|
if (file.open("simulation.config.lua")) then
|
|
dofile("simulation.config.lua")
|
|
else
|
|
print("Default configuration, used")
|
|
end
|