<s>
Wiring	B-Device
is	O
an	O
open-source	B-Application
electronics	O
prototyping	O
platform	O
composed	O
of	O
a	O
programming	O
language	O
,	O
an	O
integrated	B-Application
development	I-Application
environment	I-Application
(	O
IDE	O
)	O
,	O
and	O
a	O
single-board	B-Device
microcontroller	I-Device
.	O
</s>
<s>
Wiring	B-Device
builds	O
on	O
Processing	B-Application
,	O
an	O
open	O
project	O
initiated	O
by	O
Casey	O
Reas	O
and	O
Benjamin	O
Fry	O
,	O
both	O
formerly	O
of	O
the	O
Aesthetics	O
and	O
Computation	O
Group	O
at	O
the	O
MIT	O
Media	O
Lab	O
.	O
</s>
<s>
Wiring	B-Device
makes	O
it	O
easy	O
to	O
create	O
software	O
for	O
controlling	O
devices	O
attached	O
to	O
the	O
electronics	O
board	O
to	O
create	O
various	O
interactive	O
devices	O
.	O
</s>
<s>
The	O
concept	O
of	O
developing	O
is	O
to	O
write	O
a	O
few	O
lines	O
of	O
code	O
,	O
connect	O
a	O
few	O
electronic	O
components	O
to	O
the	O
Wiring	B-Device
hardware	O
and	O
observe	O
,	O
for	O
example	O
,	O
that	O
a	O
motion	O
sensor	O
controls	O
a	O
light	O
when	O
a	O
person	O
approaches	O
it	O
,	O
write	O
a	O
few	O
more	O
lines	O
,	O
add	O
another	O
sensor	O
,	O
and	O
see	O
how	O
this	O
light	O
changes	O
when	O
the	O
illumination	O
level	O
in	O
a	O
room	O
decreases	O
.	O
</s>
<s>
The	O
Wiring	B-Device
IDE	O
is	O
a	O
cross-platform	B-Operating_System
application	O
written	O
in	O
Java	B-Language
which	O
is	O
derived	O
from	O
the	O
IDE	O
made	O
for	O
the	O
Processing	B-Application
programming	O
language	O
.	O
</s>
<s>
It	O
includes	O
a	O
code	O
editor	O
with	O
features	O
such	O
as	O
syntax	O
highlighting	O
,	O
brace	B-Application
matching	I-Application
,	O
and	O
automatic	O
indentation	O
capable	O
of	O
compiling	O
and	O
uploading	O
programs	O
to	O
the	O
board	O
with	O
a	O
single	O
click	O
.	O
</s>
<s>
The	O
Wiring	B-Device
IDE	O
includes	O
a	O
C/C	O
++	O
library	O
called	O
"	O
Wiring	B-Device
"	O
,	O
which	O
makes	O
common	O
input/output	O
operations	O
much	O
easier	O
.	O
</s>
<s>
Wiring	B-Device
programs	O
are	O
written	O
in	O
C++	B-Language
.	O
</s>
<s>
In	O
the	O
Wiring	B-Device
environment	O
,	O
the	O
user	O
might	O
write	O
a	O
program	O
like	O
this	O
:	O
</s>
<s>
When	O
the	O
user	O
clicks	O
the	O
"	O
Upload	O
to	O
Wiring	B-Device
hardware	O
"	O
button	O
in	O
the	O
IDE	O
,	O
a	O
copy	O
of	O
the	O
code	O
is	O
written	O
to	O
a	O
temporary	O
file	O
including	O
a	O
standard	O
header	O
file	O
at	O
the	O
file	O
beginning	O
,	O
and	O
a	O
simple	O
main	B-Language
function	I-Language
appended	O
.	O
</s>
<s>
The	O
Wiring	B-Device
IDE	O
uses	O
the	O
GNU	B-Application
toolchain	I-Application
and	O
AVR	O
Libc	O
to	O
compile	O
programs	O
,	O
and	O
uses	O
avrdude	O
to	O
upload	O
programs	O
to	O
the	O
board	O
.	O
</s>
<s>
The	O
Wiring	B-Device
hardware	O
reference	O
designs	O
are	O
distributed	O
under	O
a	O
Creative	O
Commons	O
Attribution	O
Share-Alike	O
2.5	O
license	O
and	O
are	O
available	O
on	O
the	O
Wiring	B-Device
Web	O
site	O
.	O
</s>
<s>
Layout	O
and	O
production	O
files	O
for	O
the	O
Wiring	B-Device
hardware	O
are	O
also	O
available	O
.	O
</s>
