Created
June 10, 2018 10:34
-
-
Save rabejens/10d5408dbff16b2af9cc11ce93867528 to your computer and use it in GitHub Desktop.
AmigaBASIC program for sending dummy data over RS232
This file contains hidden or 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
OPEN "COM1:9600,N,8,1" FOR INPUT AS 1 | |
i=1 | |
WHILE INKEY$="" | |
PRINT #1,"The quick brown fox jumps over the lazy dog => ";i | |
i=i+1:IF i=101 THEN PRINT #1,"Resetting counter":i=1 | |
WEND | |
CLOSE 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should this be "for OUTPUT as 1" ?