Page 283 - Amphibionics : Build Your Own Biologically Inspired Robot
P. 283

Amphibionics 06  3/24/03  9:02 AM  Page 262
                                                       Amphibionics
                      PROGRAM 6.11
                                            high reverse_left
                      rx-remote.bas program
                                            pause 300
                      listing (continued)   high enable_left
                                            while limit_left = 0
                                            wend
                                            low enable_left
                                            low reverse_left
                                            ' move right leg

                                            high enable_right
                                            high reverse_right
                                            pause 300

                                            while limit_right = 0
                                            wend

                                            low enable_right
                                            low reverse_right

                                          return

                                          '------------------------------------------------------------------------------------------------------------------------------

                                          turn_right:


                                            ' move left leg

                                            high enable_left
                                            high forward_left
                                            pause 300

                                            while limit_left = 0
                                            wend

                                            low enable_left


                      262
   278   279   280   281   282   283   284   285   286   287   288