Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10 @ARUN'IoTキット
- 20 SWITCH 1,10
- 30 WAIT 60:CLS
- 40 ?"IoTキット"
- 50 SWITCH1,10
- 100 POKE#700,0,0
- 110 R=I2CW(#48,#700,1)
- 115 R=I2CR(#48,#702,2)
- 120 R=I2CW(#4B,#700,1)
- 125 R=I2CR(#4B,#704,2)
- 130 T=PEEK(#702)<<8+PEEK(#703):U=PEEK(#704)<<8+PEEK(#705)
- 143 LC 0,0:?"***IoTエッジキット***";
- 144 LC0,1
- 145 PRINT "オンド1= ";T/128;".";(T+6)%128*10/128;" "
- 146 PRINT "オンド2= ";U/128;".";(U+6)%128*10/128;" "
- 150 WAIT 60
- 160 GOTO 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement