PIC Microcontrollers: Know It All

Section III: Programming PIC Microcontrollers Using Picbasic

Chapter List

Chapter 14: PicBasic and PicBasic Pro Programming
Chapter 15: Simple PIC Projects
Chapter 16: Moving on with the 16F876
Chapter 17: Communication

Overview

BASIC is one of the oldest and one of the easiest programming languages to learn. You should be able to learn and program in BASIC in less than an hour. In this chapter, we shall be looking at the principles of programming PIC microcontrollers using the PicBasic and PicBasic Pro languages. Both these languages are very similar to the standard BASIC language but they have some modified and some additional instructions specifically for microcontroller programming.

Both PicBasic and PicBasic Pro languages have been developed by the microEngineering Labs Inc. PicBasic is a lower-cost, simpler language than PicBasic Pro and it is aimed at students and hobbyists. PicBasic Pro is more expensive, aimed at professionals, and includes additional commands for more advanced instructions.

Table 14.1 gives a list of the comparison of PicBasic and PicBasic Pro languages. Before we proceed to the chapter on PIC applications and projects, we shall be looking at how we can program the PIC microcontrollers using these languages.

Table 14.1: Comparison of PicBasic and PicBasic Pro

PicBasic

PicBasic Pro

Low-cost ($99.95)

Higher cost ($249.95)

Limited to first 2 K of program space

No program space limit

Interrupt service routine in assembly language

Interrupt service routine can be in assembly language or in PicBasic Pro

Peek and Poke used to access registers

Registers can be accessed directly by specifying their names

Some...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Programmable Logic Controllers (PLC)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.