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:47] mithatarduino:basic_interaction [2012/09/13 06:04] mithat
Line 19: Line 19:
  */  */
  
-// connect the push button to digital pin 2 +int pushButtonPin = 2;  // connect the push button to digital pin 2 
-int pushButtonPin 2; +int ledPin 13       // connect the LED to pin 13
-// connect the LED to pin 13 +
-int ledPin = 13;+
  
 void setup() { void setup() {
Line 52: Line 50:
  */  */
  
-// connect the push button to digital pin 2 +int pushButtonPin = 2;  // connect the push button to digital pin 2 
-int pushButtonPin 2; +int ledPin 13       // connect the LED to pin 13
-// connect the LED to pin 13 +
-int ledPin = 13;+
  
 void setup() { void setup() {
Line 77: Line 73:
  */  */
  
-// connect the push button to digital pin 2 +int pushButtonPin = 2;  // connect the push button to digital pin 2 
-int pushButtonPin 2; +int ledPin 13       // connect the LED to pin 13
-// connect the LED to pin 13 +
-int ledPin = 13;+
  
 void setup() { void setup() {
arduino/basic_interaction.txt · Last modified: 2012/09/14 01:19 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki