Back to Basics: Fade LED

Fade an LED
730.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 (https://www.mathworks.com/matlabcentral/fileexchange/51536-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!
版本 已发布 发行说明
1.0.0.0