function logline() local fname='A/log.csv' local st=os.stat(fname) local f=io.open(fname,'ab') if not st then f:write('date,exp,ccd temp,opt temp,vbatt\n') end f:write(string.format('%s,%d,%d,%d,%d\n',os.date('%m/%d/%Y %H:%M:%S'),get_exp_count(),get_temperature(1),get_temperature(0),get_vbatt())) f:close()end
The sensor dropped from 20 to -7 in 15 minutes. It was pretty linear, though I expected a log response. There was a suspcious hover around 0 degrees. Most temps only last 20 seconds, but it stayed at 0 for 1 minute.
Started by Vicente Script Writing
Started by bugmenot CHDK Releases
Started by MikeXM Script Writing
Started by ponciusz Script Writing
Started by Recyclojunk64 General Discussion and Assistance