The PicBasic Compiler instruction set is compatible with the Parallax BASIC Stamp I. BS1 programs can be compiled into PICmicro MCU code and programmed directly into a PICmicro MCU, eliminating the need for a BASIC Stamp module. These programs execute much faster and may be longer than their Stamp equivalents. They may also be protected so no one can copy your code. Other benefits include substantial cost savings over a BASIC Stamp.
All of the PicBasic Compiler library routines act on the 8-bit PORTB of the PICmicro MCU. PicBasic programs may use up to 2K of code space.
The PicBasic Compiler has many features beyond the BS1. Peek and Poke instructions let you use additional microcontroller features not available on the BASIC Stamp I. These include access to PORTA, B, C, D and E (if the particular device has them), A/D converters, hardware serial ports and other on-chip features in BASIC, foregoing the need to use assembly language.
But if you really want to use assembly language instructions, they may be mixed with BASIC instructions through the use of the PicBasic Compiler's in-line assembler and Call instruction. Our PICmicro MCU macro assembler is included and automatically invoked by the PicBasic Compiler.
The I2C commands let the PICmicro MCU talk to external I2C devices, such as serial EEPROMs, using only a 2-wire interface. Two PORTA pins have been dedicated to the task (the particular pins assigned may be easily changed if desired) so there is no need to tie up any of the special purpose PORTB pins.
PBC has more user variables. The BS1 only provides variables from B0 - B13 and W0 - W6. The PicBasic Compiler allows variables from B0 - B79 and W0 - W39 when used with PICmicro MCUs having 96 RAM registers in bank 0 like the PIC16C622 and 16C74.
The PicBasic Compiler is a DOS command line application (it also works in Windows) and runs on PC compatibles. It can create programs for the PIC12C67x, PIC14Cxxx, PIC16C55x, 6xx, 7xx, 84, 92x and PIC16F8xx microcontrollers and works with most PICmicro MCU programmers, including our MP PIK, MP PIC+ Programmer. A printed manual and sample programs are included to get you started.
The PicBasic Compiler can now be used inside Microchip's MPLAB IDE. This allows programs to be edited and simulated within Windows. More information is on the MPLAB page.
For a more powerful instruction set, we recommend the PicBasic Pro Compiler.
Current PicBasic Compiler owners can upgrade to the latest version at any time. See the upgrade page for information on how to obtain the latest version.
Still not sure? Try a demo of the PicBasic Compiler before you buy at CompileSpot.com.