Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
public:crocs:arduino [2014-10-30 18:42] lnemecpublic:openlab:autumn2014:arduino [2015-01-05 09:40] – Page moved from public:openlab:arduino to public:openlab:autumn2014:arduino mukrop
Line 201: Line 201:
  
 void loop() {   void loop() {  
-  digitalWrite(ledPin, HIGH);   // turn the LED on (HIGH is the voltage level) +  digitalWrite(ledPin, HIGH);   
-  delay(1000);              // wait for a second, led is turned on +  delay(1000);               
-  digitalWrite(ledPin, LOW);    // turn the LED off by making the voltage LOW +  digitalWrite(ledPin, LOW);    
-  delay(1000);              // wait for a second, led is turned off+  delay(1000);              
 } }
 </code> </code>