PeoplesBKTech
Technical User
I forgot can some one give me the format to program the time and date in LD 2
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
proc main
integer iDay, iMonth, iYear, iMin, iHour, iSec
string sSend
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
strfmt sSend "STAD %02d %02d %d %02d %02d %02d" iDay iMonth iYear iHour iMin iSec
set txpace 20
transmit "****^M"
pause 1
transmit "john^M" ;logs you out if your logged in
pause 1
transmit "logi username^M" ;add your login name here
;script stops while you enter your password
waitfor ">" forever
transmit "ld 2^M"
waitfor "."
transmit "TTAD^M"
waitfor "."
transmit sSend
transmit "^M"
waitfor "."
mspause 20
transmit "TTAD^M"
waitfor "."
mspause 20
transmit "****^M"
endproc