Skip to content

Instantly share code, notes, and snippets.

@rabejens
Created June 10, 2018 10:34
Show Gist options
  • Save rabejens/10d5408dbff16b2af9cc11ce93867528 to your computer and use it in GitHub Desktop.
Save rabejens/10d5408dbff16b2af9cc11ce93867528 to your computer and use it in GitHub Desktop.
AmigaBASIC program for sending dummy data over RS232
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
@BleuLlama
Copy link

should this be "for OUTPUT as 1" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment