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.
Part 1: • Programming Arduino Dice Roller from ...
Part 2: • Programming Arduino Dice Roller: 44 ⇒...
Part 3: • Programming Arduino Dice Roller: Maki...
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:
https://wokwi.com/projects/3286757250...
Смотрите видео Programming Arduino Dice Roller from Scratch! [1/3] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Wokwi 09 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,223 раз и оно понравилось 114 людям.