Table of Contents
Javelin Stamp Manual v1.1
•
www.javelinstamp.com
•
Page i
PREFACE ............................................................................................................................. VII
M
ANUAL
O
RGANIZATION
.....................................................................................................
VII
J
AVA
P
ROGRAMMERS
–
READ
THIS ..................................................................................
VIII
BASIC
S
TAMP
E
NTHUSIASTS
–
READ
THIS ........................................................................
IX
M
ANUAL
C
ONVENTIONS
........................................................................................................
IX
R
ESOURCES AND
T
ECHNICAL
S
UPPORT
..................................................................................
X
F
REE
D
OWNLOADS FROM WWW
.
JAVELINSTAMP
.
COM
............................................................
XI
A
CKNOWLEDGEMENTS
..........................................................................................................
XI
1: INTRODUCTION ............................................................................................................... 1
T
HE
J
AVELIN
S
TAMP AND
I
TS
F
EATURES
................................................................................ 1
P
ROGRAMMING
L
ANGUAGE
-
J
AVA
TM
FOR THE
J
AVELIN
S
TAMP
............................................ 2
J
AVELIN
S
TAMP
I
NTEGRATED
D
EVELOPMENT
E
NVIRONMENT
............................................... 2
V
IRTUAL
P
ERIPHERALS
........................................................................................................... 3
Background VPs ................................................................................................................. 3
Foreground VPs ................................................................................................................. 3
H
OW THE
J
AVELIN
S
TAMP
W
ORKS
......................................................................................... 4
J
AVELIN
S
TAMP
H
ARDWARE
.................................................................................................. 5
E
QUIPMENT AND
S
YSTEM
R
EQUIREMENTS
............................................................................. 6
U
SEFUL
H
ARDWARE
............................................................................................................... 7
2: JAVELIN QUICK START ............................................................................................... 11
H
ARDWARE
S
ETUP
................................................................................................................ 11
I
NSTALLING THE
J
AVELIN
S
TAMP
IDE .................................................................................. 16
R
UNNING THE
J
AVELIN
S
TAMP
IDE
AND
L
OADING A
T
EST
P
ROGRAM
................................. 19
D
EBUGGING
E
NVIRONMENT
................................................................................................. 22
O
NLINE
H
ELP
........................................................................................................................ 26
I/O
E
XAMPLE
........................................................................................................................ 27
D
ID
T
HAT
W
ORK
?
–
T
ROUBLE
S
HOOTING
............................................................................ 29
W
HERE TO
N
EXT
? ................................................................................................................. 32
3: BEGINNERS GUIDE TO EMBEDDED JAVA PROGRAMMING ............................ 35
T
HE
C
LASS
W
RAPPER AND
M
AIN
M
ETHOD
.......................................................................... 35
D
ECLARING
C
ONSTANTS
,
V
ARIABLES
,
AND
A
RRAYS
........................................................... 36
P
ERFORMING
C
ALCULATIONS
............................................................................................... 39
M
AKING
D
ECISIONS
.............................................................................................................. 40
R
EPETITIVE
O
PERATIONS
...................................................................................................... 43
D
ISPLAYING
M
ESSAGES FROM THE
J
AVELIN
......................................................................... 47
S
ENDING
M
ESSAGES TO THE
J
AVELIN
................................................................................... 49