You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Techsource Technical Team (2026). Back to Basics: Fade LED (https://uk.mathworks.com/matlabcentral/fileexchange/51536-back-to-basics-fade-led), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (582 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
