masaakiNakamura

Line tracer V1.0

Jul 24th, 2016
615
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 10 'Line tracer V1.0
  2. 20 Poke #700, #0,#88,#8a,#89,#8b,#98,#9a,#99,#9b,#28,#2a,#29,#2b
  3. 30 IF IN(4)=0 GOTO 60
  4. 40 GOSUB 130
  5. 50 GOTO 30
  6. 60 GOSUB 160
  7. 70 GOTO 30
  8. 130 R=I2CW(#63,#700,1,#70b,1)
  9. 135 R=I2CW(#61,#700,1,#701,1)
  10. 140 R=I2CW(#60,#700,1,#707,1)
  11. 150 RETURN
  12. 160 R=I2CW(#60,#700,1,#701,1)
  13. 170 R=I2CW(#61,#700,1,#703,1)
  14. 180 RETURN
  15. 185 ' Stop motors
  16. 190 R=I2CW(#61,#700,1,#701,1)
  17. 200 R=I2CW(#60,#700,1,#701,1)
  18. 210 R=I2CW(#63,#700,1,#701,1)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×