🤩 FREE Arduino Crash Course 👇👇
https://bit.ly/get_Arduino_skills
**If you like this, I think you'll like the premium Arduino training we offer. Check it out here** https://bit.ly/3nSBPUs
This code comes from a course student [Arthur] working on a challenge. The challenge was to blink 3 LEDs in sequence back and forth and use two potentiometers to adjust the timing of the blink and the brightness of the LEDs.
Arthur did a fantastic job and his code works great -- but there is always room for improvement, and he was seeking some pointers. In this video I walk through the code and make some recommendations.
Want to get the most from this video? Then copy the original code from below and see if you can determine how it works and how you might clean it up a little yourself. Learning to read other peoples code is huge part of learning programming -- give it a shot!
The three big themes I address in this code are:
Variable naming conventions and comments
Removing unnecessary code
Creating a more responsive algorithm
Смотрите видео DeBugging an Arduino Sketch онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming Electronics Academy 11 Июль 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,032 раз и оно понравилось 92 людям.