Table of Contents
Getting Started
BASICchip, PRO and ARMmite
Install Software
Connect USB to PRO family
Connect to BASICchip
Writing your first program
Programming the IO
More complex programs
BASICtools Features
ARMweb, DINkit(Ethernet)
Install Software
Connect Ethernet
USB connection for BASICtools
Writing a simple Program via the web
Writing a program with BASICtools
Programming the IO
ARMweb C support
Getting started with MBED
Install Software
Connect USB to MBED
Writing your first program
Programming the IO
Getting started with Teensy
Install Software
Connect USB to Teensy
Writing your first program
Programming the IO
The Compiler
About
Main Features
Requirements
Installing
Running
ARMbasic and other BASICs
Differences from PBASIC
PreProcessor
Frequently Asked Questions
Revision History
Notices
The Language
Alphabetical KEYWORDs
PreProcessor
#define
#else
#ifdef
#if
#include
#undef
#warning
Simple Statements
Assignment
CALL
Comments
END
EXIT
GOSUB
GOTO
DEBUGIN
PRINT
RETURN
Compound Statements
DO...LOOP
FOR...NEXT
IF...THEN
SELECT CASE
WHILE...LOOP
Other Statements
__ASM__
CONST
DIM
label:
MAIN
__MAP__
ON
STOP
Debugging
@ (dump memory)
! (set memory)
CLEAR
DEBUGIN
LIST
RUN
STOP
Aborts
Functions
BYREF
BYVAL
PARAMARRAY
FUNCTION
SUB
ENDFUNCTION
ENDSUB
Operators List
& (String concatenation)
* (Multiplication)
+ (Addition)
+ (String concatenation)
- (Negation)
- (Subtraction)
> (Greater than)
/ (Division)
< (Less than)
<= (Less than or equal)
<> (Inequality)
= (Equality)
>= (Greater than or equal)
AND (Conjunction)
NOT (Bit-wise complement)
OR (Disjunction: Inclusive Or)
<< (Shift-left)
>> (Shift-right)
XOR (Exclusive Or)
Compound Operators
Operator Precedence
Ternary Operation
Type Conversion
Data Types
Constants
Variables
Arrays
Strings
ARM Hardware Access
AddressOf operation
Converting Data Types
Additional Reserved Words
Obsolete Words
Runtime Library
Byte and HalfWord ops
RD_BYTE
RD_HALF
WR_BYTE
WR_HALF
Mathematical Functions
ABS
MOD
File Operations
FILEOPEN
FILEREADDIR
FILEREADBYTE
FILEWRITEBYTE
FILEEOF
FILECLOSE
Floating Point Functions
Trig functions
Inverse Trig functions
Hyperbolic functions
Power functions
Misc functions
Random Numbers
String Functions
String Comparisons
CHR
HEX
INSTR
LCASE
LEFT
LEN
MID
MIDSTR
PRINTF
RIGHT
Single byte access
SPRINTF
STR
STRCHR
STRCOMP
STRSTR
TOLOWER
TOUPPER
UCASE
VAL
QUICKSORT
Hardware Library
* pointers
Date and Time Functions
DAY
HOUR
IDLE
MINUTE
MONTH
SECOND
TIMER
WAIT
WAITMICRO
WEEKDAY
YEAR
Flash Access
FREAD
Memory Map
WRITE
Function List
HWPWM
I2C
OneWire
Serial - BitBanged
Serial - UART Hardware
SHIFTIN, SHIFTOUT
SPI
Interrupts
ADDRESSOF
INTERRUPT
INTERRUPT SUB
SLEEP
Pin Controls
Overview
Pin Mapping
AD
BYTEBUS -- ARMweb only
DAC
DIR
HIGH
IN
INPUT
IO
LOW
OUT
OUTPUT
Port P0..P4
Register Port Access
Hardware Info
ARMmite Pin Diagrams
ARMweb Pin Diagrams
BASICboard Pin Diagram
BASICchip Pin Diagram
BASICchip SO-20 Pin Diagram
CPU details
DATA Logger Pin Diagrams
DINrail Pin Diagrams
Memory Map
Memory & Peripheral Use
Multi Core debuging
Power
Power On Behavior
PRO Pin Diagrams
PROstart Pin Diagrams
RS232 or USB connection
Schematics
Serial Configuration
SPI,Microwire
SuperPRO/ PROplus Pin Diagrams
Timing
TTL and other interfacing
USB use
USB use with Linux, Hyperterm, TeraTerm
USB use with MatLab
Using the I2C Bus
Legacy Products-- not for new designs
ARMexpress LITE Pin Diagram
ARMexpress Pin Diagram
Wireless ARMmite Pin Diagrams
XB sensor Pin Diagrams
ARMweb Ethernet Services
Getting started with ARMweb
USB connection for BASICtools
Connect Ethernet
armweb.htm PAGE
Controls Page
CGI Services
CGI example
FTP Services
HTTP Services
Mail Services
Web Services
Web BASIC
UDP Services
Power On Behavior
Firmware Update
Tables
ASCII Character Codes
Bitwise Operators
Operator Precedence
Variable Types
Support
Trouble Shooting
How to contact the developers
How to report a bug
Upgrading Firmware
Install Firm Up
Writing Firmware
Contributors
Notices
obsolete
Obsolete PBASIC functions
COUNT
PULSIN
PULSOUT
PWM
RCTIME
REV
DATA
ON
READ
RESTORE
Logic Scope
Timed Samples
User Sampling
StandAlone Scope
Index