Arduino Blink Challenge Simulink Models
Updated Thu, 01 Sep 2016 15:20:45 +0000
A set of Simulink models that solve the Arduino Blink challenge. The "blink challenge" is described in the last part of the Ladyada Arduino tutorial, http://www.ladyada.net/learn/arduino/. The controlled circuit switches between four modes: all LEDs off, all LEDs on, LEDs blinking simultaneously, and LEDs cycling at a specified frequency.
There are 2 solutions, one using Simulink blocks, and one using Stateflow state charts.
These models require R2012a, and use the new Simulink built-in support for prototyping, testing, and running models on Arduino Uno/Arduino Mega. These models have been tested on an Arduino Uno.
For more information on Simulink built-in support for Arduino boards, see:
For more information on Simulink built-in support for hardware, see:
Brian McKay (2023). Arduino Blink Challenge Simulink Models (https://www.mathworks.com/matlabcentral/fileexchange/35994-arduino-blink-challenge-simulink-models), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.