EasyManua.ls Logo

Eckstein komponente KS0530 - Project 3: Push Button Module

Default Icon
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
98
for (value = 255; value > 0; value = value - 1) {
analogWrite (LED, value); // LED gradually goes out
delay (20); // delay 20MS
}
}
//**********************************************************
Upload code to development board, the LED’s blink frequency is slower,
isn’t it?
Project 3:Push Button Module
(1)Description
In this project, we intend to use the push button module to control the LED.
(2)Parameters:
◆ Working voltage:DC 3.3-5V
◆ Control signal:digital signal
◆ Size:34*22*15mm
◆ Weight:3.8g