home *** CD-ROM | disk | FTP | other *** search
- 10 rem **************************
- 20 rem * ad-wandler *
- 30 rem * nach dem prinzip des *
- 40 rem * waegecodierers *
- 50 rem **************************
- 55 :
- 60 poke56579,15
- 65 a=0
- 70 fori=3to0step-1
- 80 a=a+2^i
- 85 poke56577,a
- 90 if(peek(56577)and16)=16thena=a-2^i
- 100 next
- 120 :
- 130 rem anzeige
- 140 :
- 150 a=a/3
- 160 fori=0to2
- 170 z=int(a):a=(a-int(a))*10
- 180 z$(i)=right$(str$(z),1)
- 190 next
- 200 a$=z$(0)+"."+z$(1)+z$(2)+" volt"
- 210 print"[147]"a$
- 220 goto65
-