;; lab2.txt ;; ;; Lego Robot Design Studio ;; SCIBORG code skeleton for Lab 2 ;; Group number: ;; Names: menu 1 [ping-pong] menu 2 [escape] menu 3 [music1] menu 4 [music2] to ping-pong ;; Fill in with ping-pong code for ;; question #1 end to escape ;; Fill in with escape code for ;; question #2 end to music1 ;; Fill in with music1 code for ;; question #3a end to music2 ;; Fill in with music2 code for ;; question #3b end ; Primitive procedures for easier use: to left-wheel a, end to right-wheel b, end to front-bumper? output switch 7 end to back-bumper? output switch 8 end to play_note :frequency :duration :wait note :frequency :duration wait :wait end