Led-ul Brick este o componenta care emite lumina atunci cand portul Arduino la care este conectata trece in HIGH (1). void setup() { pinMode(7, OUTPUT); } void loop() { digitalWrite(7, HIGH); set the LED on delay(1000); wait for a second digitalWrite(7, LOW); set the LED off delay(1000); wait for a second }.
Led-ul clipeste o data la fiecare secunda. void loop() { digitalWrite(7, HIGH); set the LED on delay(1000); wait for a second digitalWrite(7, LOW); set the LED off delay(1000); wait for a second } Pinul de semnal se cupleaza la pinul digital 7.
Led-ul Brick este o componenta care emite lumina atunci cand portul Arduino la care este conectata trece in HIGH (1)