Flashing LED

For Beginers - Blink an LED on Arduino with Simulink


Updated 29 Jun 2015

View License

This is the first Arduino demo with Simulink that you should try (if you're a beginner) before you attempt the rest in this list. It shows how you can blink an LED using a Digital output pin with signals coming from a pulse block in Simulink.
Try using Arduino MEGA 2560 in external mode if you want to change the parameter in real time.

Cite As

Techsource Technical Team (2023). Flashing LED (https://www.mathworks.com/matlabcentral/fileexchange/51708-flashing-led), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes