Basicatom Syntax Manual Basicatom Syntax Manual

Basicatom Syntax Manual Basicatom Syntax Manual

BasicATOMBasicATOM SyntaxSyntax ManualManual Unleash The Power Of The Basic Atom Version 2.2.1.3 Warranty Basic Micro warranties its products against defects in material and workmanship for a period of 90 days. If a defect is discovered, Basic Micro will, at our discretion repair, replace, or refund the purchase price of the product in question. Contact us through the support system at http://www.basicmicro.com No returns will be accepted without the proper authorization. Copyrights and Trademarks Copyright© 1999-2004 by Basic Micro, Inc. All rights reserved. PICmicro® is a trademark of Microchip Technology, Inc. MBasic, The Atom and Basic Micro are registered trademarks of Basic Micro Inc. Other trademarks mentioned are registered trademarks of their respec- tive holders. Disclaimer Basic Micro cannot be held responsible for any incidental, or consequential damages resulting from use of products manufactured or sold by Basic Micro or its distributors. No products from Basic Micro should be used in any medical devices and/or medical situations. No product should be used in a life support situation. Contacts Web: http://www.basicmicro.com Discussion List A web based discussion board is maintained at http://www.basicmicro.com Updates In our continuing effort to provide the best and most innovative products, software updates are made available by contacting us at http://www.basicmicro.com Table of Contents 5 Table of Contents Contents Introduction .................................................12 What is the BasicATOM ? ................................................................ 12 This Manual .................................................................................... 12 On-line Discussion Forums .............................................................. 12 Updates ......................................................................................... 12 Technical Support............................................................................ 13 The Basic Atom ............................................15 General Theory of Operation ............................................................ 16 The Basic’s ...................................................19 Preprocessor ................................................31 Math .............................................................37 Command Modifiers .....................................43 Syntax ..........................................................51 ADin .............................................................................................. 53 Branch ........................................................................................... 54 Clear .............................................................................................. 57 Count ............................................................................................. 58 Data (EEPROM)............................................................................. 59 Debug ............................................................................................ 60 Debugin ......................................................................................... 61 Do...While ...................................................................................... 63 DTMFout ........................................................................................ 64 DTMFout2 ...................................................................................... 65 Enablevideo .................................................................................... 67 End ................................................................................................ 69 For...Next ....................................................................................... 71 Freqout .......................................................................................... 72 Getcapture ..................................................................................... 73 Getwatchdog .................................................................................. 74 Gosub...Return ............................................................................... 75 Goto .............................................................................................. 76 High ............................................................................................... 77 I2Cin .............................................................................................. 82 I2Cout............................................................................................ 83 If...Then...Elseif...Else...Endif ........................................................... 84 Input ............................................................................................. 86 6 Lcdread .......................................................................................... 88 Let ................................................................................................. 91 Lookdown ....................................................................................... 92 Lookup ........................................................................................... 93 Low ............................................................................................... 94 Nap ............................................................................................... 95 OnPor...OnBor...OnMor..................................................................... 97 Output ........................................................................................... 98 OWIN............................................................................................. 99 OWOUT ....................................................................................... 100 Pause........................................................................................... 101 Pauseclk....................................................................................... 102 Pauseus ....................................................................................... 103 PEEK...POKE ................................................................................ 104 Pulsin ........................................................................................... 105 Pulsout......................................................................................... 106 Pop .............................................................................................. 107 Popw ........................................................................................... 108 Push ............................................................................................ 109 Pushw .......................................................................................... 110 Pwm ............................................................................................ 111 RCtime......................................................................................... 112 Read ............................................................................................ 113 ReadDM ....................................................................................... 114 Repeat...Until ............................................................................... 115 Reverse ....................................................................................... 118 Serdetect ..................................................................................... 119 Serin ............................................................................................ 121 Serout .......................................................................................... 123 Servo ........................................................................................... 125 Setcapture ................................................................................... 126 Setcompare .................................................................................. 127 Setextint ...................................................................................... 128 Sethserial ..................................................................................... 129 Setpullups .................................................................................... 130 Settmr0........................................................................................ 131 Settmr1........................................................................................ 132 Settmr2........................................................................................ 133 Sleep ........................................................................................... 137 Sound .......................................................................................... 138 Sound2 ......................................................................................... 139 Sound8 ......................................................................................... 140 Spmotor ....................................................................................... 141 7 Stop ............................................................................................. 142 Swap ........................................................................................... 143 Timewatchdog .............................................................................. 144 Toggle.......................................................................................... 145 While...Wend ...............................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    175 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us