Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
public:crocs:arduino [2014-10-30 18:42] lnemecpublic:crocs:arduino [2014-10-30 18:43] – [JeeNodes] lnemec
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>