Last active
March 11, 2021 08:28
-
-
Save denzuko/8b7d793f6bc32153ae3a2a54d56d08fc to your computer and use it in GitHub Desktop.
Arduino64
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
5 FALSE = .:TRUE = NOT FALSE | |
10 HI=255: LO=0:DEV=56579:COMM=56577 | |
15 DIM D(7) | |
20 D(0)=1:D(1)=2:D(2)=4:D(3)=8 | |
22 D(4)=16:D(5)=32:D(6)=64:D(7)=128 | |
25 POKE DEV,HI:POKE COMM,LO | |
100 FOR X=0 TO 7: GOSUB 300:NEXT | |
200 FOR X=7 TO 1 STEP -1: GOSUB 300:NEXT | |
250 GOTO 100 | |
300 POKE COMM, D(X) | |
310 FOR I=1 TO 25:NEXT I | |
320 RETURN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧇