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

Amphibionics 03  3/24/03  8:11 AM  Page 32
                                                              Description
                      TABLE 3.2
                      PicBasic Pro Statement
                                                              Insert one line of assembly language code.
                                          @
                      Reference           Statement    Amphibionics
                                          ADCIN               Read on-chip analog to digital converter.
                                          ASM..ENDASM         Insert assembly language code section.
                                          BRANCH              Computed GOTO (equiv. to ON..GOTO).
                                          BRANCHL BRANCH      Out of page (long BRANCH).
                                          BUTTON              Debounce and auto-repeat input on specified
                                                              pin.
                                          CALL                Call assembly language subroutine.

                                          CLEAR               Zero all variables.
                                          CLEARWDT            Clear (tickle) Watchdog Timer.

                                          COUNT               Count number of pulses on a pin.
                                          DATA                Define initial contents of on-chip EEPROM.

                                          DEBUG               Asynchronous serial output to fixed pin and
                                                              baud.

                                          DEBUGIN             Asynchronous serial input from fixed pin and
                                                              baud.

                                          DISABLE             Disable ON DEBUG and ON INTERRUPT
                                                              processing.

                                          DISABLE DEBUG       Disable ON DEBUG processing.
                                          DISABLE INTERRUPT   Disable ON INTERRUPT processing.

                                          DTMFOUT             Produce touch-tones on a pin.
                                          EEPROM              Define initial contents of on-chip EEPROM.

                                          ENABLE              Enable ON DEBUG and ON INTERRUPT
                                                              processing.

                                          ENABLE DEBUG        Enable ON DEBUG processing.
                                                                                   (continued on next page)

                      32
   48   49   50   51   52   53   54   55   56   57   58