actual code

Hayden Reeves

// constants won't change. They're used here to
// set pin numbers:
const int buttonPinA = A0;    
const int ledPinA =  11;
const int buttonPinB = A1;    
const int ledPinB =  10;      
const int buttonPinC = A2;    
const int ledPinC =  9;  
const int buttonPinD = A3;    
const int ledPinD =  6;
const int buttonPinE = A4;    
const int ledPinE =  5;      
const int buttonPinF = A5;    
const int ledPinF =  3;  

// variables will change:
int buttonStateA = 0;
int buttonStateB = 0;
int buttonStateC = 0;
int buttonStateD = 0;
int buttonStateE = 0;
int buttonStateF = 0;

void setup() {
  pinMode(ledPinA, OUTPUT);
  pinMode(buttonPinA, INPUT);
  pinMode(ledPinB, OUTPUT);
  pinMode(buttonPinB, INPUT);
  pinMode(ledPinC, OUTPUT);
  pinMode(buttonPinC, INPUT);
  pinMode(ledPinD, OUTPUT);
  pinMode(buttonPinD, INPUT);
  pinMode(ledPinE, OUTPUT);
  pinMode(buttonPinE, INPUT);
  pinMode(ledPinF, OUTPUT);
  pinMode(buttonPinF, INPUT);
}

void loop() {
  // read the state of the pushbutton value:
  buttonStateA = digitalRead(buttonPinA);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateA == HIGH) {
    // turn LED on:
    digitalWrite(ledPinA, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinA, LOW);
  }  

  // read the state of the pushbutton value:
  buttonStateB = digitalRead(buttonPinB);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateB == HIGH) {
    // turn LED on:
    digitalWrite(ledPinB, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinB, LOW);
  }  

  // read the state of the pushbutton value:
  buttonStateC = digitalRead(buttonPinC);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateC == HIGH) {
    // turn LED on:
    digitalWrite(ledPinC, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinC, LOW);
  }  

  // read the state of the pushbutton value:
  buttonStateD = digitalRead(buttonPinD);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateD == HIGH) {
    // turn LED on:
    digitalWrite(ledPinD, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinD, LOW);
  }  

  // read the state of the pushbutton value:
  buttonStateE = digitalRead(buttonPinE);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateE == HIGH) {
    // turn LED on:
    digitalWrite(ledPinE, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinE, LOW);
  }  

  // read the state of the pushbutton value:
  buttonStateF = digitalRead(buttonPinF);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonStateF == HIGH) {
    // turn LED on:
    digitalWrite(ledPinF, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinF, LOW);
  }    
  
}

not working

AJ Deguire

const int buttonPinA = A0;     // the number of the pushbutton pin
const int ledPinA =  11;      // the number of the LED pin
const int buttonPin2 = A1;
const int ledPin2 = 10;

// variables will change:
int buttonState1 = 0; // variable for reading the pushbutton status
int buttonState2 = 0; 

void setup() {
  pinMode(ledPinA, OUTPUT);
  pinMode(buttonPinA, INPUT);
  pinMode(ledPin2, OUTPUT);
  pinMode(buttonPin2, INPUT);
}

void loop() {
  // read the state of the pushbutton value:
  buttonState1 = digitalRead(buttonPinA);
  if (buttonState1 == HIGH) {
    // turn LED on:
    digitalWrite(ledPinA, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPinA, LOW);
  }
}


  // read the state of the pushbutton value:
  buttonState2 = digitalRead(buttonPin2);
  if (buttonState2 == HIGH) {
    // turn LED on:
    digitalWrite(ledPin2, HIGH);
  } else {
    // turn LED off:
    digitalWrite(ledPin2, LOW);
  }

}

Interviews (Day 1)

Diana Sherwood

Yesterday for the last hour of school I went down to the cafeteria to interview some people for needfinding. It went...not so well. The first people I interviewed turned out to be seniors but I decided to interview them anyways as they might have had some interesting insights. However, one of them kept talking to his friend and being distracted while I was trying to interview them. Thankfully, his friend kept telling him to be quiet. But then, some kid came over and confronted them about something that happened over the weekened, and they started talking right when I was interviewing them! Then, they started bickering and I was completely ignored. I was so frustrated and angry I just left. 0/10 would not interview again.

Next, I interviewed someone who was also in 12th grade but was waaaay nicer than those 3 boys. While the interview was very short as she is quiet like me, she did give me some insight. All in all, my first interviewing did not go so well. It was really hard trying to ask open ended questions and also not to be frustrated when I would get very short, vague answers (or when the people I was interviewing were very rude). Hopefully today if I have time, I'll go out and interview people again, and hopefully it will go a lot better!