Загрузка страницы

✔ Multitask Arduino with State Machines (& Switch Debouncing)

A State Machine is a mental tool to help you organize your code. The best part is that you can do most of the real work by drawing a diagram, so you're free to get creative and visual without worrying about syntax. Once the diagram is done, there is a straightforward "Plug and Chug" procedure to turn that picture into working code.

In this video, I show how State Machines can be used to make code with a map. The result is easy to debug, organize, modify, and communicate to others.

Table of Contents:
0:00 - Intro
2:40 - Switch Bouncing
5:45 - Draw a State Machine
14:30 - Code a State Machine
28:00 - Use your Power for Good

"Primer" for Arduino beginners:
https://youtu.be/y80CbihMV9Q

Simple Button State Machine:
https://gist.github.com/NormalUniverse/5b3a8a8d909b56b58b67bd3ec2808f4b#file-simple-button-debounce-state-machine

Button, Buzzer, LED Multitasking State Machines:
https://gist.github.com/NormalUniverse/f807ca9f267b861365c688193ddfdd68

Music:
"Rewind" - On Ice
"Brave" - Memba

Видео ✔ Multitask Arduino with State Machines (& Switch Debouncing) канала Normal Universe
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 марта 2018 г. 13:38:44
00:30:42
Яндекс.Метрика