Category Archives: 03. Sensing Simple Signals

Assignment 3: Sensing simple signals

Here’s my video and code for assignment three. Pretty straightforward, so don’t have much to say ūüėČ   SWITCHLIGHT int pbIn =2; int ledOut1 = 13; int ledOut2 = 12; int button = 0; void setup() { pinMode(pbIn, INPUT); pinMode(ledOut1, … Continue reading

Posted in 03. Sensing Simple Signals | Leave a comment

HW3 Sensing and Simple Signals

Code: 3.2 3.3 3.4 3.5

Posted in 03. Sensing Simple Signals | Leave a comment

#3SensingSimpleSignals

Posted in 03. Sensing Simple Signals | 1 Comment

03. Sensing Simple Signals | Madeline Gannon

Here is the link to my video: http://vimeo.com/15722389 CODE: // Sensing Simple Signals [pt II]// Madeline Gannon | mgannon int ledPin1 = 2;int ledPin2 = 3;int buttonPin1 = 8; void setup(){¬†¬†¬†pinMode(ledPin1, OUTPUT);¬†pinMode(ledPin2, OUTPUT);¬†¬†pinMode(buttonPin1, INPUT);¬†¬†¬†} void loop(){¬†¬†if (digitalRead(buttonPin1) == HIGH){¬†¬†¬†¬†digitalWrite(ledPin1, HIGH);¬†¬†digitalWrite(ledPin2, … Continue reading

Posted in 03. Sensing Simple Signals | Leave a comment

Sensing Simple Signals

Parts 2-5, Part 1 on the way.

Posted in 03. Sensing Simple Signals | Leave a comment

Sensing Simple Signals

Part 2 Part 4 Part 5

Posted in 03. Sensing Simple Signals | Leave a comment

Hw 3

//Lindsay Oakes //switchlight //in this program, the led is turned on so long as the switch button is pressed //I used one switch to control two led int buttonPin = 2; //assigns the switch button as pin 2 int ledPin … Continue reading

Posted in 03. Sensing Simple Signals | Leave a comment