file = io.open("/home/pi/domoticz/scripts/logfiletemp.txt", "a")
file:write(datum,';',weekdag,';',tijd,';',tempnieuw,';',afgerond,';',opwarmgraden,';',buitentemp,';',windrichting,';',wind,';'
,windvlaag,'\n')
file:close()
The problem is the output is printed on one line. How can I fix that. \n is not working.
