ee pulse - EEWeb
ee pulse - EEWeb
ee pulse - EEWeb
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
TECHNICAL ARTICLE<br />
Disclaimer<br />
The views, opinions, positions or strategies expressed<br />
by the author and those providing comments are theirs<br />
alone, and do not necessarily reflect the views, opinions,<br />
positions or strategies of anybody else.<br />
Das Blinkenlights [1]<br />
We’ll have a closer look at the blinking LED Arduino<br />
sketch we saw last time (Figure 1).<br />
ACHTUNG!<br />
ALLES TURISTEN UND NONTEKNISCHEN LOOKEN-<br />
PEEPERS! DAS KOMPUTERMASCHINE IST NICHT<br />
F¨UR DER GEFINGERPOKEN UND MITTENGRA-<br />
BEN! ODERWISE IST EASY TO SCHNAPPEN DER<br />
SPRINGENWERK, BLOWENFUSEN UND POPPEN-<br />
CORKEN MIT SPITZENSPARKSEN. IST NICHT F¨UR<br />
GEWERKEN BEI DUMMKOPFEN. DER RUBBER-<br />
NECKEN SIGHTSEEREN KEEPEN DAS COTTON-<br />
PICKEN H¨ANDER IN DAS POCKETS MUSS. ZO RE-<br />
LAXEN UND WATSCHEN DER. BLINKENLICHTEN.<br />
Dissection of BlinkWithoutDelay [3]<br />
Sketch<br />
Programs written for the Processing [4] programming<br />
language are called sketches. These sketches are<br />
typically written using the text editor that comes with<br />
Processing. It has features for cutting/pasting and for<br />
searching/replacing text. Sketches written for Processing<br />
should have a .pde file extension, which stands for<br />
Processing Development Environment. Arduino<br />
borrowed this concept from Processing and programs<br />
that are being uploaded to and run on an Arduino board<br />
are called sketches as well. To distinguish Arduino<br />
from Processing sketches, .ino should be used as a file<br />
extension, which stands for Arduino (Figure 2).<br />
Comments<br />
Robert Berger<br />
Embedded Software Specialist<br />
Arduino<br />
for mere m0rtals - PART 4<br />
Everything betw<strong>ee</strong>n the /* (line 1) and */ (line 22) is<br />
ignored by the Arduino when it runs the sketch (the *<br />
(lines 8, 9) at the start of each line is only there to make<br />
the comment look pretty, and isn’t required). Comments<br />
are for people who read your code and for you and try<br />
<strong>EEWeb</strong> | Electrical Engin<strong>ee</strong>ring Community Visit www.<strong>ee</strong>web.com 16<br />
TECHNICAL ARTICLE