Manual pbp
COPYRIGHT NOTICE Copyright ©2009 microEngineering Labs, Inc. All rights reserved. This manual describes the use and operation of the PICBASIC PRO™ Compiler from microEngineering Labs, Inc. Use of the PICBASIC PRO Compiler without first obtaining a license is a violation of law. To obtain a license, along with the latest version of the product and documentation, contact microEngineering Labs, Inc. Publication and redistribution of this manual over the Internet or in any other medium without prior written consent is expressly forbidden. In all cases this copyright notice must remain intact and unchanged. microEngineering Labs, Inc. Box 60039 Colorado Springs CO 80960-0039 (719) 520-5323 (719) 520-1867 fax email: support@ melabs.com web: www.melabs.com
TRADEMARKS BASIC Stamp is a trademark of Parallax, Inc. PICBASIC, PICBASIC PRO, PICPROTO and EPIC are trademarks of Microchip Technology Inc. in the U.S.A. and other countries. PIC is a registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries.
PICBASIC PRO™ Compiler
microEngineering Labs, Inc.
6/09
PICBASIC PRO Compiler TABLE OF CONTENTS 1. Introduction . . . . . . . . . . . . . 1.1. The PIC ® MCUs . . 1.2. About This Manual 1.3. Sample Programs ... ... .. ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 2 3
2. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1. Software Installation . . . . . . . . . . . . . . . . . . . 2.2. Your First Program . . . . . . . . . . . . . . . . . . . . 2.3. Program That MCU . . . . . . . . . . . . . . . . . . . . 2.4. It’s Alive . . . . . . . . . . .