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

Published: 09 April 2020
on channel: Wokwi
6,223
114

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...


Watch video Programming Arduino Dice Roller from Scratch! [1/3] online without registration, duration hours minute second in high quality. This video was added by user Wokwi 09 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,223 once and liked it 114 people.