Professional Documents
Culture Documents
Light/pin
mapping
Setup*/
/*loop:
Decision
point:
Decide
on
chunk
size
of
text.
Reading
is
done
with
the
IndexOf
command
Read
(How
do
we
have
the
Arduino
read?)
first
{chunk},
display
lights
Read
second
{chunk},
display
lights.
very
simple
blinker
text
based
on
alternative
IndexOf
commands:
int
led=13;
void
setup()
{
pinMode(led,
OUTPUT);
}
void
loop
(){
String
StringOne
=
"Twas
brillig
and
the
slithy
toves";
String
StringTwo
=
"Lo!
t
is
a
gala
night";
String
StringThree
=
"Within
the
lonesome
latter
years!";
String
StringFour
=
"Did
gyre
and
gimble
in
the
wabe";
if
(StringOne.indexOf
("brillig")
>=0)
{
digitalWrite(led,
HIGH);
delay(100);
digitalWrite(led,
LOW);
delay(100);
digitalWrite(led,
HIGH);
delay(100);
digitalWrite(led,
LOW);
delay(100);
digitalWrite(led,
HIGH);
}
else
if
(StringOne.indexOf("gala")
>=0){
digitalWrite(led,
HIGH);
delay(1000);
digitalWrite(led,
LOW);
delay(1000);
digitalWrite(led,
HIGH);
delay(1000);
digitalWrite(led,
LOW);
delay(1000);
digitalWrite(led,
HIGH);
}
}
/*dooblie
doo*/
repeat?
*/
Alphabetized
wordlist
extracted
from
poem
Affirm
Amid
Angel
Angels
bedight
Be
forgot
Bewinged
Bidding
blood-red
breathes
Chased
circle
Come
Condor
Conqueror
Crawling
Crowd
Curtain
Down
drama
drowned
Evermore
Fangs
fears
fitfully
flapping
Fly
Food
Form
form
Formless
Funeral
Gala
Go
God
Hero
High
Hither
hopes
Horror
Human
gore
Imbued
Intrude
Invisible
Latter
Lights
Lonesome
Low
Madness
Man
mimes
Mimes
Mimic
Moral
motley
Mumble
Music
Mutter
Night
not
seized
orchestra
out
Out
Pall
Pallid
Pangs
Phantom
play
(n.)
Plot
Puppets
Quivering
return
in
Rout
Rush
same
spot
Scenery
Scenic
See
see
Seraphs
Shape
Shift
Sin
sit
Sob
Solitude
Soul
spheres
(phil.)
Storm
tears
theater
Throng
Tither
to
and
fro
Tragedy
Unveiling
Uprising
Vast
veils
Vermin
Wan
Wings
Worm
wo[e]
Writhes
writhes
years
III
Poem
The
Conqueror
Worm
BY
EDGAR
ALLAN
POE
Lo!
t
is
a
gala
night
Within
the
lonesome
latter
years!
An
angel
throng,
bewinged,
bedight
In
veils,
and
drowned
in
tears,
Sit
in
a
theatre,
to
see
A
play
of
hopes
and
fears,
While
the
orchestra
breathes
fitfully