2006. 8. 16. 16:49
Hardware/mC
To test Wiring board, I did :
1. I/O board installation
2. Trying an example, LED blinks :
3. Uploading a program into I/O board
And the board works!
1. I/O board installation
2. Trying an example, LED blinks :
// Blinking LED
// by BARRAGAN <http://barraganstudio.com>
int ledPin = 0; // LED connected to the Wiring I/O board pin 0
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000);
}
And the board works!
'Hardware > mC' 카테고리의 다른 글
SAM7-H256 (0) | 2008.03.17 |
---|---|
Arduino board (0) | 2007.11.17 |
AVR (0) | 2007.07.24 |
serial ports on Wiring board (0) | 2006.12.01 |
Wiring board (0) | 2006.08.16 |