Frequently asked questions
What is eBASIC?
eBASIC stands for Embedded Basic. eBASIC is a
compiler implementation PBASIC, the Basic Stamp™ programming language.
Unlike Stamp programs, eBASIC programs consist of machine-executable
instructions that can be loaded onto just about any PIC™ Micro 14-bit core
device. There is no run-time interpreter. eBASIC programs are more compact and
run many times faster than their interpreted counterparts.
Do I have to learn another
language?
eBASIC implements much of the BS2 syntax that you
are already familiar with. Furthermore, eBASIC extends the familiar BS2 syntax
with loop and decision structures that make embedded programming easier.
Do I need an expensive PIC
programmer?
Many PIC™ parts now support serial programming using
a bootloader or an inexpensive In-Circuit programmer. For example, the
RC40 accepts a program download via the serial port of your PC, much
like the Stamp.
How much does it cost?
eBASIC Lite is provided free of charge for hobby and
educational use.
What are the limitations of the
Lite product?
eBASIC Lite is intended for hobby and educational
use. The code generator is limited to a maximum of 2048 words of ROM.
Other than this code limitation, the Lite compiler product is fully functional
and upwardly compatible with the Standard product.
Will my existing PBasic programs
compile with eBASIC?
Many PBasic programs will compile with minor
modifications. For example, under eBASIC, the compiler must know some critical
information about the target environment. eBASIC provides compiler directives
like #device, #clock, and #romsize in order to generate code that is correct
for the target device.
Why doesn't eBASIC support the
16F84?
The venerable 16F84 is severely limited when
compared with newer Microchip designs that provide more RAM, additional timers,
built-in USART, and and twice the program ROM. Compare the 16F84 with the
16F628, which sells for the same price or less. Virtually all code written for
the 16F84 is portable to the 16F628.
Does eBASIC provide
access to the on-chip resources?
eBASIC allows the programmer to access all on-chip
resources and peripherals, such as timers, PWM, ADC, and CCP.
Does eBASIC
support Interrupts?
eBASIC allows the programmer to
designate a subroutine as the Interrupt Service Routine, using the #INTERRUPT
directive.
Will eBASIC
work with my boot loader?
eBASIC code may be located anywhere on
the device using the #ORG compiler directive. This allows the program to
coexist with the boot loader.
BASIC Stamp is a registered trademark of Parallax, Inc.
Updated September 3, 2007