the out commands start a curcuit on th serial port to time the discharge of a cap and a thermistor. the m vari the is not actually used for this part of the code ther are a couple of lines of code that allow you to trip an output the m variable is used in that part. If some wants to see it i will post. Yes it is qbasic.
I found some other code while searching and thought that i might apply it for saving the file by date. like i said i have not ran the code i am still waiting on parts. It wont do much without the curcuit
.
createfile:
'Build a file name from the month and year (not Y2K compliant but who
cares!)
'This file will contain a data record for each minute of the month
'(44,640 records for a 31-day month)
fileraw$ = "HDS_" + MID$(DATE$, 9, 2) + MID$(DATE$, 1, 2) + ".dat"
OPEN fileraw$ FOR APPEND AS #2
RETURN
logit:
'Log the raw data to the disk file
LOCATE 3, 62: PRINT "Logging . . . "
WRITE #2, DATE$, LEFT$(TIME$, 5), t1, t2
Not sure how i would add this but i will look into it.
Smaug