- Many control applications can be accomplished in a very small program
- ARMbasic can be installed in minutes, and be solving your
control problems just as quickly
- While BASIC is considered a simplistic language, ARMbasic
with built-in hardware functions and the speed of compiled code can be a
higher performance solution than many more complex languages
- As it is an incremental compiler, it has the feel of an interpreter.
Its quick and easy to debug its programs. Why learn a new development
system, you can either enter programs directly from the console or use any
text editor that you are already familiar with.
- ARMbasic from Coridium is not a "new" BASIC language. It
is not required of you to learn anything new if you are familiar with any
Microsoft-BASIC variant. Even if you don't have knowledge of the BASIC
language, its constructs are easy to learn and easy to use.
- ARMbasic is case-insensitive; scalar variables
don't need to be dimensioned or declared before use; MAIN function is
not required. Syntax follows much of that of Microsoft-Visual BASIC
- INPUT and OUTPUT control pin direction
- IO(x) reads or writes a pin state and control input/output direction
- HIGH and LOW control pin output values
- I2C on any of the pin pairs
- SPI using any group of 2/3 pins
- Hardware based PWM
- Software PWM on any pin with 256 levels
- PULSIN and PULSOUT will measure or output a pulse
- SHIFTIN, SHIFTOUT can be used for SPI or MicroWire devices
- OWIN and OWOUT support one-wire devices
- SERIN, SEROUT can be used for low duty cycle asynchronous serial ports on any
pin up to 115Kbaud
- RCTIME will measure a capacitive delay
- Integer: (32-bit math)
- Single (32-bit IEEE 754 floating point)
- String support
- Static arrays supported, up to 32KB in size on the ARMexpress, 4KB on
- All arrays, variables and strings are allocated from a 33KB space on the
ARMexpress, 5KB on the ARMmite
- Code will include user programs, constant strings (used in expressions or
PRINT), DATA constants.
- On the SuperPRO 128KB is available for user programs, and an additional
8KB is available for DATA constants and constant strings. In addition
120KB of Flash can be written and functions as non-volatile memory. Note
that Flash may be written a minimum of 100K times.
- On the BASICchip 20KB is available for user programs.
- Uses the same syntax as C-pointers
- The ease and speed of an interpreter.
- Dump of variables used
- compiled breakpoint
- The BASICchip and PRO families compile
their programs on the PC and they are downloaded using BASICtools, that
compiler is part of the utilities available for download from