Traffic Light on Arduino using Stateflow

Model a traffic light switching sequence using Stateflow
1,6K Downloads
Aktualisiert 12 Aug 2015

Lizenz anzeigen

This project models a traffic light switching sequence, where the switching sequence is automated as follows:
Red (5 sec) > Amber (2 sec) > Green (5 sec)
The code initializes first by blinking all three LEDs three times, and then proceeds with the traffic light sequence.
In the model, a Stateflow chart is used for the logical modelling.

Adapted from Simon Monk's "30 Arduino Projects for the Evil Genius".

Zitieren als

Techsource Technical Team (2024). Traffic Light on Arduino using Stateflow (https://www.mathworks.com/matlabcentral/fileexchange/51545-traffic-light-on-arduino-using-stateflow), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert: Traffic Light + Switch on Arduino

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Added picture.
Updated description.