Abstract

This chapter focuses on the PicBasic Compiler (PBC). It does not have all the commands and features found in the PicBasic Pro (PBPro) compiler, but that does not rule it out for many applications. The PBC was written to use the same basic structure as the Parallax BASIC Stamp module. The Stamp only allows eight I/O pins for program development. A standard 14-bit core PIC has at least 13 I/O pins available. PBC does not handle program spaces larger than 2k very well because of the PIC's inner structure, but a program of 2k is still quite large. This 2k limit to PBC is something PBPro does not have and is the reason why some people prefer the PBPro compiler instead. PBC is so efficient that many very powerful programs that fit in a 1k 16F84A device have been written. This chapter discusses in detail each PBC command and expands upon the information in the PBC manual. It also explains how to use the PBC compiler and gives a better understanding of the compiler's function.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call