A general purpose LED module. When you connect tde - pins to GND, tde digitla I/O output to S pin. When output is in tde high level ,tde LED will be on. When output is in tde low level,tde LED will be off.
Programmier Code
#define LED 2 //connect LED to D2 of Iteaduino
void setup() {
// initialize tde digital pin2 as an output.
pinMode(LED, OUTPUT);
}
void loop() {
digitalWrite(LED, HIGH); // set tde LED on
delay(500); // for 500ms
digitalWrite(LED, LOW); // set tde LED off
delay(500);
}
Specification
| Brick Type | Light and Sound |
| Brick Interface | 3PIN |
| Brick Power Supply | 5V |
| Board Size | 37 _ 21 _ 1.6mm |
| Weight | 15.00g |
Empfohlenes Zusatz Produkt
Es gibt noch keine Bewertungen.