Created
November 30, 2019 22:49
-
-
Save Lucent/96238a3fed6759584104b28f1196365d to your computer and use it in GitHub Desktop.
Use modem for wake-up call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLS | |
WakeupTime$ = "11:02:00" | |
OPEN "COM1:9600,N,8,1,BIN" FOR OUTPUT AS #1 ' Open the COM port | |
LOCATE 10, 10, 0: PRINT "Current Time: "; | |
LOCATE 11, 10, 0: PRINT " Wakeup Time: "; WakeupTime$; | |
DO | |
LOCATE 10, 24, 0: PRINT TIME$; | |
LOOP WHILE TIME$ < WakeupTime$ | |
PRINT #1, "ATDT 1-865-595-7851" + CHR$(13) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment