Datasheet
Programming PIC Microcontrollers in BASIC - mikroElektronika
Chapter 1: The Basics
● Introduction 
● 1.1 Why BASIC? 
● 1.2 Choosing the right PIC for the task 
● 1.3 A word about code writing 
● 1.4 Writing and compiling your program 
● 1.5 Loading program to microcontroller 
● 1.6 Running the program 
● 1.7 Troubleshooting 
Introduction
Simplicity and ease which higher programming languages bring in, as well as broad 
application of microcontrollers today, were reasons to incite some companies to adjust and 
upgrade BASIC programming language to better suit needs of microcontroller 
programming. What did we thereby get? First of all, developing applications is faster and 
easier with all the predefined routines which BASIC brings in, whose programming in 
assembly would take the largest amount of time. This allows programmer to concentrate on 
solving the important tasks without wasting his time on, say, code for printing on LCD 
display.
To avoid any confusion in the further text, we need to clarify several terms we will be using 
frequently throughout the book:
Programming language is a set of commands and rules according to which we write the 
program. There are various programming languages such as BASIC, C, Pascal, etc. There is 
plenty of resources on BASIC programming language out there, so we will focus our 
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/01.htm (1 sur 11)05/11/2004 02:10:07










