Back to Basics: Fade LED

Fade an LED
725.0 次下载
更新时间 2015/6/26


Get acquainted with using the Simulink Support Package to program the Arduino.
This example shows you how to make an LED increase and decrease gradually in brightness (fade effect).

A sine-wave block is used to implement the fading effect. As the amplitude of the Sine Wave varies, the volume/brightness of the buzzer/LED will vary.


Techsource Technical Team (2024). Back to Basics: Fade LED (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
Windows macOS Linux
Help CenterMATLAB Answers 中查找有关 Get Started with Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明