Download data/examples/13wire/analogm.bas from introvoyz041/tinybasic: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/datasets/introvoyz041/tinybasic/resolve/main/data/examples/13wire/analogm.bas
- Command line
-
hf download hf://datasets/introvoyz041/tinybasic/data/examples/13wire/analogm.bas
-
curl -L -o analogm.bas https://huggingface.co/datasets/introvoyz041/tinybasic/resolve/main/data/examples/13wire/analogm.bas
225 Bytes
| 10 REM "Master code for analogr2" | |
| 20 REM "Display the analog value" | |
| 100 REM "setup()" | |
| 110 OPEN &7, 8 | |
| 200 REM "loop()" | |
| 210 FOR I | |
| 220 @S=0 | |
| 230 INPUT &7, A | |
| 240 IF @S THEN PRINT "Data error" ELSE PRINT A | |
| 250 DELAY 500 | |
| 260 NEXT I | |