Processing
Libre Graphics
Conditional Design
Arduino
Arduino
Home
Museum Visit
Final Project
Authorship
and
Interaction
Research
MakeyMakey
Rasberry pi
Arduino
Vand A reference
Damein hurst for the love of God interactive
The Infinite Adventure Machine
Arduino is a uno baod allows you t create your own boarded software.
You can let is make sound, project colour and sound.
You can also create computer games.
light code
int led = 13;
(led is in imput 13)
void setup
pinMode(led, OUTPUT);
(output because the led to blink)
void loop
digitalwrite(led, HIGH);
(Led on)
delay(1000);
(second in milli seconds)
digital write (led, Low);
Low means off
delay (1000);
int led = 13;
void setup() {
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(3000);
digitalWrite(led, LOW);
delay(3000);
}
dimed light
int lightPin=0;
int ledPin=11;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
Serial.println(analogRead(lightPin));
analogWrite(ledPin, analogRead(lightPin)/1);
delay(10);
}
motor
#include
Servo myservo;
int potPin = 0;
int val;
void setup() {
myservo.attach(9);
}
void loop() {
val = analogRead(potPin);
val = map(val, 0, 1023, 0, 179);
myservo.write(val);
delay(15);
}
unfornuately the motor was unable to work properly
My work
By Dainyika Jackson w1432850
MGRA501 Module Level 5
BA Graphic Communication Design
2015 Dainyika-Jade Jackson