Category Archives: Uncategorized

this is a new post

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

 

Code test

 

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

/* Blink without Delay
 
 Turns on and off a light emitting diode(LED) connected to a digital  
 pin, without using the delay() function.  This means that other code
 can run at the same time without being interrupted by the LED code.
 
 The circuit:
 * LED attached from pin 13 to ground.
 * Note: on most Arduinos, there is already an LED on the board
 that's attached to pin 13, so no hardware is needed for this example.
 
 
 created 2005
 by David A. Mellis
 modified 8 Feb 2010
 by Paul Stoffregen
 
 This example code is in the public domain.

 
 http://www.arduino.cc/en/Tutorial/BlinkWithoutDelay
 */

// constants won't change. Used here to 
// set pin numbers:
const int ledPin =  13;      // the number of the LED pin

// Variables will change:
int ledState = LOW;             // ledState used to set the LED
long previousMillis = 0;        // will store last time LED was updated

// the follow variables is a long because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
long interval = 1000;           // interval at which to blink (milliseconds)

void setup() {
  // set the digital pin as output:
  pinMode(ledPin, OUTPUT);      
}

void loop()
{
  // here is where you'd put code that needs to be running all the time.

  // check to see if it's time to blink the LED; that is, if the 
  // difference between the current time and last time you blinked 
  // the LED is bigger than the interval at which you want to 
  // blink the LED.
  unsigned long currentMillis = millis();
 
  if(currentMillis - previousMillis > interval) {
    // save the last time you blinked the LED 
    previousMillis = currentMillis;   

    // if the LED is off turn it on and vice-versa:
    if (ledState == LOW)
      ledState = HIGH;
    else
      ledState = LOW;

    // set the LED with the ledState of the variable:
    digitalWrite(ledPin, ledState);
  }
}

 


/* Blink without Delay
 
 Turns on and off a light emitting diode(LED) connected to a digital  
 pin, without using the delay() function.  This means that other code
 can run at the same time without being interrupted by the LED code.
 
 The circuit:
 * LED attached from pin 13 to ground.
 * Note: on most Arduinos, there is already an LED on the board
 that's attached to pin 13, so no hardware is needed for this example.
 
 
 created 2005
 by David A. Mellis
 modified 8 Feb 2010
 by Paul Stoffregen
 
 This example code is in the public domain.

 
 http://www.arduino.cc/en/Tutorial/BlinkWithoutDelay
 */

// constants won't change. Used here to 
// set pin numbers:
const int ledPin =  13;      // the number of the LED pin

// Variables will change:
int ledState = LOW;             // ledState used to set the LED
long previousMillis = 0;        // will store last time LED was updated

// the follow variables is a long because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
long interval = 1000;           // interval at which to blink (milliseconds)

void setup() {
  // set the digital pin as output:
  pinMode(ledPin, OUTPUT);      
}

void loop()
{
  // here is where you'd put code that needs to be running all the time.

  // check to see if it's time to blink the LED; that is, if the 
  // difference between the current time and last time you blinked 
  // the LED is bigger than the interval at which you want to 
  // blink the LED.
  unsigned long currentMillis = millis();
 
  if(currentMillis - previousMillis > interval) {
    // save the last time you blinked the LED 
    previousMillis = currentMillis;   

    // if the LED is off turn it on and vice-versa:
    if (ledState == LOW)
      ledState = HIGH;
    else
      ledState = LOW;

    // set the LED with the ledState of the variable:
    digitalWrite(ledPin, ledState);
  }
}


 

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */

void setup() {                
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(13, OUTPUT);     
}

void loop() {
  digitalWrite(13, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(1000);              // wait for a second
}


/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

Self_Intro_kAi

Hi!

I’m kAi, also from Beijing, China.

My background is graphic design and graphic user interface design. I was working in a social network in China recent 3 years. I do UI for mobile apps.

I have great interest in wearable devices. love pcomp things and I want to use wearable things to create music. And I also have interest in Audio Visualization.

I’m also a dog lover. There is a fur body in my Beijing home. He’s a fox terrier, which is very rebellious.

My portfolio,

https://www.behance.net/pekingkc

My recent project was a concept design for smart watch.

IMG_0683

Alex-Introduction

Hello. I’m Alex. I’m from New Jersey  and I’ve been living in Brooklyn for 4 years now. I majored in Studio Art at Skidmore College, focusing in drawing and printmaking. I’ve done lots of things for work since then and have played guitar in a few bands. Along the way I had the pleasure of working for this guy, where I was exposed to working with new technology.

I’m excited about all things physical computing, but one thing I’d like to experiment with is turning a musical input into a visual output.

these projects aren’t super interesting, but I think it would be neat to use a drum to trigger lights/visuals.

http://vimeo.com/5403056

https://www.youtube.com/watch?v=4uYG9BAoeHw

 

-Alex

 

 

AYO-INTRODUCTION

ME

okunseinde-pic
My name is Ayodamola Tanimowo Okunseinde…. but you can call me Ayo. I will be the tutor for this class. As most of you probably know… I LOOOOOVVVEE all things P-Comp, so I am always excited to answer questions or solve code and physical aspects of projects. I am a 2nd year MFA DT student, a lover of airplane food, a hater of pandas… I have a background in fine art painting and philosophy. At Parsons I have been exploring Afrofuturism, Design Fiction / Science Fiction, Technoshamanism, Emergence / A.I., and Biology / ACI. My thesis will involve these domains in the investigation of temporal transmission of culture and identity. I will be sharing weekly inspirational p-comp projects on the blog.

HOURS
My office hours are as follows (on D12):
Mon 10am – 1pm
Wed 3:00pm – 3:50pm
Thur 3:00pm – 3:50pm
Fri 12:10 – 3:50pm

INSPIRATION Check these links out:
Cloud Piano by David Bowen http://www.dwbowen.com/cloud_piano_movie.html

Macarena Song on Dot Matrix Printer by Mididesaster http://vimeo.com/96985367

You can email me to set an official meeting, or just grab me any time you see me around. I am looking forward to working with you all.

//ayo

Daruswat Wattanarojjananikorn-Introduction

blog-20130110-l1021694

 

My name is Daruswat Wattanarojjananikorn, from Thailand.

My undergrad major is Interior Architecture.

After graduated, I had worked in exhibition field for a year and have the opportunity to work in interior and architecture for another 2 years.

While I worked in exhibition field ,I have always interested in interaction design, interface, installation wall and interactive furniture. These interest will extend my previous work in  exhibition and interior design field further by relating a design space that engage more people into space.

My goal is to combine my experience in structure and what I hope to learn about technology together.

Hello World, Blink!

This is the first and most basic Arduino Example, it shows digital output through an LED blink.

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */

void setup() {                
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(13, OUTPUT);     
}

void loop() {
  digitalWrite(13, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(1000);              // wait for a second
}