filmov
tv
Programming Arduino Dice Roller from Scratch! [1/3]

Показать описание
In this Arduino live-coding series you will learn how to program your own dice roller project! We'll write the code together, from scratch, solving interesting challenges, and I will explain every step and show you how to create clean, readable Arduino code.
Timeline:
00:00 Start
00:30 Explaining the circuit
01:35 The Dice Pip pattern
02:09 Starting to write the code
03:33 Adding all the red LEDs
04:30 Creating the displayNumber() function
06:15 Why we need `break` in switch?
07:16 Adding numbers 3, 4, 5, and 6
08:31 Testing our implementation
08:57 Hooray! Great success ;-)
The code + simulation from the tutorial:
Timeline:
00:00 Start
00:30 Explaining the circuit
01:35 The Dice Pip pattern
02:09 Starting to write the code
03:33 Adding all the red LEDs
04:30 Creating the displayNumber() function
06:15 Why we need `break` in switch?
07:16 Adding numbers 3, 4, 5, and 6
08:31 Testing our implementation
08:57 Hooray! Great success ;-)
The code + simulation from the tutorial: