Posted at

はじめてのArduinoでLチカ

More than 3 years have passed since last update.

抵抗とLEDをブレッドボードに挿してチカチカ光らせるメモ

void setup() {

// put your setup code here, to run once:
pinMode(11,OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite(11,HIGH);
delay(500);
digitalWrite(11,LOW);
delay(500);
}