LED
A LED commonly used with a resistor emits light.
Information
Connection scheme
Scheme made with Fritzing.
Functions
On
On State
Switches the component on.
void function_0_led(){
digitalWrite(pin_0_led, HIGH);
function_0_led();
}
digitalWrite(pin_0_led, HIGH);
void function_0_led(){
digitalWrite(pin_0_led, HIGH);
state = 1;
}
Off
Off State
Switches the component off.
void function_0_led(){
digitalWrite(pin_0_led, LOW);
function_0_led();
}
digitalWrite(pin_0_led, LOW);
void function_0_led(){
digitalWrite(pin_0_led, LOW);
state = 1;
}
Last modified April 6, 2022: added component translations (dd86b1f)