Arduino - 5 Things to Know About Interrupts

9 Просмотры
Размещено
If you are using Arduino Interrupts, you need to be aware of some limitations. Here is a list of 5 do/don’t to help you use interrupts correctly.
???? Complete Arduino Course for Beginners: ???? https://skl.sh/3eOp37e ???? (FREE for 14 days!)

✅ Click Here for the corresponding Written Tutorial: https://roboticsbackend.com/arduino-interrupts/

0:00 Intro
0:24 1. Volatile variables
1:50 2. Don’t put parameters or return type for the interrupt function
2:40 3. Keep the interrupt fast
4:35 4. Be careful with time functionalities
6:53 5. Don’t use Serial inside interrupts
8:25 Recap

Twitter: https://twitter.com/RoboticsBackend
More Tutorials: https://roboticsbackend.com/
Категория
Ардуино
Комментариев нет.