User Tools

Site Tools


arduino:basic_interaction

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
arduino:basic_interaction [2012/09/13 05:45] mithatarduino:basic_interaction [2012/09/13 05:46] mithat
Line 25: Line 25:
  
 void setup() { void setup() {
-  pinMode(pushButtonPin, INPUT);   // make the pushbutton's pin an input +  pinMode(pushButtonPin, INPUT);  // make the pushbutton's pin an input 
-  pinMode(ledPin, OUTPUT);      // make LED's pin an output+  pinMode(ledPin, OUTPUT);        // make LED's pin an output
 } }
  
Line 58: Line 58:
  
 void setup() { void setup() {
-  pinMode(pushButtonPin, INPUT);   // make the pushbutton's pin an input +  pinMode(pushButtonPin, INPUT);  // make the pushbutton's pin an input 
-  pinMode(ledPin, OUTPUT);      // make LED's pin an output+  pinMode(ledPin, OUTPUT);        // make LED's pin an output
 } }
  
Line 83: Line 83:
  
 void setup() { void setup() {
-  pinMode(pushButtonPin, INPUT);   // make the pushbutton's pin an input +  pinMode(pushButtonPin, INPUT);  // make the pushbutton's pin an input 
-  pinMode(ledPin, OUTPUT);      // make LED's pin an output+  pinMode(ledPin, OUTPUT);        // make LED's pin an output
 } }
  
arduino/basic_interaction.txt · Last modified: 2012/09/14 01:19 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki