Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tum_yil_icin_arduino_mufredati_12
int led=9;//ledin + bacağının bağlandığı pin
void setup()
{
pinMode(led,OUTPUT);//lede çıkış sinyali gönderilmesi
}
void loop()
{
digitalWrite(led,HIGH);//lede 5V enerji gönderilmesi
delay(500);//500 mili saniye beklenmesi
digitalWrite(led,LOW);//ledin 0Va çekilmesi
delay(500);//500 milisaniye beklenmesi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.