LED Reminder

See all articles from ZX-Appeal Oct 88
Author(s): Neil Grant
Publication: ZX-Appeal
Pub Details: ZX-Appeal Oct 88
Date: October 1988
Pages: 10
   1 REM -Neil Grant contributes this little reminder regarding LEDs
10 PLOT 123,40
20 DRAW 54,0
30 PLOT 125,40
40 DRAW 0,40
50 DRAW 50,0,-PI
60 DRAW 0,-40
70 PLOT 140,40
80 DRAW 0,-20
90 PLOT 160,40
100 DRAW 0,-25
110 PRINT AT 18,16;"-"
120 PRINT AT 18,19;"+"
130 FOR n=-(PI/2) TO PI/1.9 STEP PI/10
140 PLOT 150+(SIN n)*40,80+(COS n)*40
150 DRAW (SIN n)*40,(COS n)*40
160 NEXT n

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.