🤩 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
Watch video DeBugging an Arduino Sketch online without registration, duration hours minute second in high quality. This video was added by user Programming Electronics Academy 11 July 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,032 once and liked it 92 people.