Back to Basics: Fade LED

Fade an LED

Vous suivez désormais cette soumission

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.

Citation pour cette source

Techsource Technical Team (2026). Back to Basics: Fade LED (https://fr.mathworks.com/matlabcentral/fileexchange/51536-back-to-basics-fade-led), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Get Started with Simulink dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0