App-Lab LED Blink

App-Lab LED Blink

App-Lab LED Blink
App-Lab LED Blink

In this kit, there are white and yellow LED modules. Their operating method is same.
In this lesson, we directly connect the white LED module to the sensor shield with three female-to-female DuPont cables.
After wiring, we can upload code on the keyestudio PLUS control board to control white LED to display different colors.
After GND and VCC are powered on, the LED lights up when the signal terminal S is HIGH, and the LED turns off when signal end S is LOW.

Specifications:
Control interface: digital port
Working voltage: DC 3.3-5V
Pin pitch: 2.54mm
LED display color: white
Size: 30 * 20mm
Weight: 3g

Equipment:
White LED module * 1
Keyestudio PLUS Control Board * 1
Sensor shield * 1
3pin female to female Dupont lines
USB cable * 1

Test-Code:

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// App-Lab Projects with LED Blink
// Sends data to thorsten-auch.com
// Tested with Arduino IDE 1.8.16
// 11/2021 Thorsten Auch, https://www.thorsten-auch.com
// Hardware Connections (Arduino IDE 1.8.16)
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

void setup() {
    
pinMode(13, OUTPUT);                  //Set digital 13 to output

}

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

void loop() {
  
digitalWrite(13,HIGH);                //Set digital 13 to HIGH level up
delay(1000);                          //delay in 1000ms
digitalWrite(13,LOW);                 //Set digital 13 to LOW level, LED lights off
delay(1000);                          //delay in 1000ms

}

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

What's Your Reaction?

like
1
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0