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...
Video timeline:
00:00 Review
00:26 Adding randomness using random()
01:18 Debugging why random() isn't so random?!
02:05 Combining randomSeed() with analogRead()
04:03 Adding the push button to the code
05:52 Using the user input as source of randomness
06:15 2nd approach: combining randomSeed() with micros()
07:58 Adding the final touches
09:16 Uploading the code to the Arduino and enjoying the final result!
The complete code from this video:
https://wokwi.com/projects/3286756694...
Смотрите видео Programming Arduino Dice Roller: Making random() more Random [3/3] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Wokwi 16 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,058 раз и оно понравилось 79 людям.