<s>
The	O
BASIC	B-Language
Stamp	I-Language
is	O
a	O
microcontroller	B-Architecture
with	O
a	O
small	O
,	O
specialized	O
BASIC	B-Language
interpreter	I-Language
(	O
PBASIC	B-Language
)	O
built	O
into	O
ROM	B-Device
.	O
</s>
<s>
Although	O
the	O
BASIC	B-Language
Stamp	I-Language
2	I-Language
has	O
the	O
form	O
of	O
a	O
24	O
pin	O
DIP	B-Algorithm
chip	O
,	O
it	O
is	O
in	O
fact	O
a	O
small	O
printed	O
circuit	O
board	O
(	O
PCB	O
)	O
that	O
contains	O
the	O
essential	O
elements	O
of	O
a	O
microprocessor	O
system	O
:	O
</s>
<s>
2kB	O
of	O
i²C	O
EEPROM	B-General_Concept
memory	O
.	O
</s>
<s>
The	O
end	O
result	O
is	O
that	O
a	O
hobbyist	O
can	O
connect	O
a	O
9V	O
battery	O
to	O
a	O
BASIC	B-Language
Stamp	I-Language
and	O
have	O
a	O
complete	O
system	O
.	O
</s>
<s>
A	O
serial	B-Protocol
connection	I-Protocol
to	O
a	O
personal	B-Device
computer	I-Device
allows	O
the	O
programmer	O
to	O
download	O
software	O
to	O
the	O
BASIC	B-Language
Stamp	I-Language
,	O
which	O
is	O
stored	O
in	O
the	O
onboard	O
non-volatile	B-General_Concept
memory	I-General_Concept
device	O
:	O
it	O
remains	O
programmed	O
until	O
it	O
is	O
erased	O
or	O
reprogrammed	O
,	O
even	O
when	O
the	O
power	O
of	O
the	O
stamp	O
is	O
removed	O
.	O
</s>
<s>
The	O
BASIC	B-Language
Stamp	I-Language
is	O
programmed	O
in	O
a	O
variant	O
of	O
the	O
BASIC	O
language	O
,	O
called	O
PBASIC	B-Language
.	O
</s>
<s>
PBASIC	B-Language
incorporates	O
common	O
microcontroller	B-Architecture
functions	O
,	O
including	O
PWM	B-Algorithm
,	O
serial	B-Protocol
communications	I-Protocol
,	O
I²C	O
and	O
1-Wire	O
communications	O
,	O
communications	O
with	O
common	O
LCD	B-Device
driver	O
circuits	O
,	O
hobby	O
servo	O
pulse	O
trains	O
,	O
pseudo-sine	O
wave	O
frequencies	O
,	O
and	O
the	O
ability	O
to	O
time	O
an	O
RC	B-Algorithm
circuit	I-Algorithm
which	O
may	O
be	O
used	O
to	O
detect	O
an	O
analog	O
value	O
.	O
</s>
<s>
Once	O
a	O
program	O
has	O
been	O
written	O
in	O
the	O
'	O
Stamp	O
Editor	O
 '	O
,	O
an	O
integrated	B-Application
development	I-Application
environment	I-Application
(	O
IDE	O
)	O
in	O
Windows	O
,	O
the	O
syntax	B-Application
can	O
be	O
checked	O
,	O
tokenized	B-Application
and	O
sent	O
to	O
the	O
chip	O
through	O
a	O
serial/USB	O
Mini-B	O
cable	O
,	O
where	O
it	O
will	O
run	O
.	O
</s>
<s>
(	O
1995	O
)	O
BASIC	B-Language
Stamp	I-Language
2	I-Language
(	O
BS2	O
)	O
,	O
with	O
six	O
sub-variants	O
:	O
</s>
<s>
The	O
BS2	O
sub-variants	O
feature	O
more	O
memory	O
,	O
higher	O
execution	B-General_Concept
speed	I-General_Concept
,	O
additional	O
specialized	O
PBASIC	B-Language
commands	O
,	O
extra	O
I/O	B-General_Concept
pins	O
,	O
etc.	O
,	O
in	O
comparison	O
to	O
the	O
original	O
BS2	O
model	O
.	O
</s>
<s>
While	O
the	O
BS1	O
and	O
BS2	O
use	O
a	O
PIC	B-Architecture
,	O
the	O
remaining	O
BASIC	B-Language
Stamp	I-Language
2	I-Language
variants	O
use	O
a	O
Parallax	B-Device
SX	I-Device
processor	O
.	O
</s>
<s>
This	O
module	O
uses	O
a	O
subset	O
of	O
Sun	O
Microsystems	O
 '	O
Java	B-Language
programming	I-Language
language	I-Language
instead	O
of	O
Parallax	O
's	O
PBASIC	B-Language
.	O
</s>
<s>
The	O
module	O
is	O
based	O
on	O
the	O
Parallax	B-Architecture
Propeller	I-Architecture
and	O
therefore	O
uses	O
the	O
SPIN	O
programming	O
language	O
instead	O
of	O
PBASIC	B-Language
.	O
</s>
<s>
A	O
number	O
of	O
companies	O
now	O
make	O
"	O
clones	O
"	O
of	O
the	O
BASIC	B-Language
Stamp	I-Language
with	O
additional	O
features	O
,	O
such	O
as	O
faster	O
execution	O
,	O
analog-to-digital	O
converters	O
and	O
hardware-based	O
PWM	B-Algorithm
which	O
can	O
run	O
in	O
the	O
background	O
.	O
</s>
<s>
The	O
Parallax	B-Architecture
Propeller	I-Architecture
is	O
gradually	O
accumulating	O
software	O
libraries	O
which	O
give	O
it	O
functionality	O
similar	O
to	O
the	O
BASIC	B-Language
Stamp	I-Language
;	O
however	O
,	O
there	O
is	O
no	O
uniform	O
list	O
of	O
which	O
PBASIC	B-Language
facilities	O
now	O
have	O
Spin	O
equivalents	O
.	O
</s>
