Init.Enabled = False
Log("Init started")
ILI.Initialize(15, 0)
ILI.FillScreen(ILI.COLOR_BLACK)
ILI.SetRotation(1)
ILI.GFX.ConfigureText(2, ILI.COLOR_BLACK, True)
ILI.GFX.SetCursor(2, 2)
ILI.GFX.DrawText(" Testing 1")
ILI.GFX.ConfigureText(2, ILI.COLOR_BLACK, True)
ILI.GFX.SetCursor(2, 22)
ILI.GFX.DrawText(" Waiting for connection ")
If wifi.IsConnected Then
Log("Starting server")
server.Initialize(3000, "server_NewConnection")
server.Listen
Worktimer.Initialize("Worktimer_Tick",2000)
Worktimer.Enabled = True
End If