Traffic Light on Arduino using Stateflow
版本 1.0.0.0 (834.0 KB) 作者:
Techsource Technical Team
Model a traffic light switching sequence using Stateflow
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".
引用格式
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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2015a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Industries > Automotive >
- Robotics and Autonomous Systems > Automated Driving Toolbox >
- Automotive > Automated Driving Toolbox >
- Event-Based Modeling > Stateflow >
在 Help Center 和 MATLAB Answers 中查找有关 Automotive 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |
Added picture.
|