2007. 11. 6. 21:47
Footmarks
Memory
Bootloader
Reset Button
ATmega8
Microprocessor
Arduino API (Programming)
sound
Frequency <=> Time
int val = 2000;
void setup()
{
pinMode(9, OUTPUT); // sets the digital pin as output
}
void playNote(int val) {
{
for(int c = 0; c < 100; c++) {
digitalWrite(9, HIGH); //sets the LED on
delayMicroseconds(val); //waits for a second
digitalWrite(9, LOW); //sets the LED off
delayMicroseconds(val); //waits for a second
}
delay(500);
}
void loop()
{
playNote(200);
playNote(400);
playNote(600);
}
조교
권아름 arum.kwon(at)gmail.com
석근국 kg.seok(at)hmail.com
SADI 제품디자인과
Bootloader
Reset Button
ATmega8
Microprocessor
Arduino API (Programming)
sound
Frequency <=> Time
int val = 2000;
void setup()
{
pinMode(9, OUTPUT); // sets the digital pin as output
}
void playNote(int val) {
{
for(int c = 0; c < 100; c++) {
digitalWrite(9, HIGH); //sets the LED on
delayMicroseconds(val); //waits for a second
digitalWrite(9, LOW); //sets the LED off
delayMicroseconds(val); //waits for a second
}
delay(500);
}
void loop()
{
playNote(200);
playNote(400);
playNote(600);
}
조교
권아름 arum.kwon(at)gmail.com
석근국 kg.seok(at)hmail.com
SADI 제품디자인과
'Footmarks' 카테고리의 다른 글
문화콘텐츠 기획/창작 프로젝트 발표회 (0) | 2007.12.15 |
---|---|
서강대 visiting artist lecture - 장재호 (0) | 2007.12.05 |
DIY Arduino Digital Music Instrument - Day 1 (0) | 2007.11.05 |
이승택 <Experimental Media - 게임 디자이너와의 대화> "게임: 미디어로서의 가능성" (1) | 2007.05.19 |
2006년 SCA 하반기 연합 컨퍼런스 (0) | 2006.12.02 |