Arduino ( 3 – 1 ) LED Built – In Test

Arduino Board ရဲ့ ကိုယ်ထည်ပေါ်မှာပါဝင်လာပြီးသား Led မီးလုံးငယ်လေး ကို ဦးဆုံး အဖွင့် အပိတ် စတင်စမ်းသပ်မည့်လေ့ကျင့်ခန်း ဖြစ်ပြီး မည်သည့် ပစ္စည်းမျှ မလိုအပ်သေးပဲ အာဒီနို ဘုတ်တခုနှင့်ပင်လုံလောက်ပါသည် ။ အောက်တွင် ကုဒ်များဖော်ပြထားပြီး မိမိတို့ကိုယ်တိုင် စာအုပ်ထဲတွင် လိုက်လံရေးမှတ်ခြင်းကို မိပြီး မှတ်မိစေ နားလည်စေနိုင်မှာဖြစ်ပါတယ် ။

Code ##

void setup() {

pinMode(LED_BUILTIN, OUTPUT); //Declare LED_BULITIN Pin as Output

}

void loop() {

digitalWrite(LED_BUILTIN, HIGH);

delay(1000);

digitalWrite(LED_BUILTIN, LOW);

delay(1000);

}



Comments

Leave a Reply

Your email address will not be published. Required fields are marked *