STARTER KIT TUTORIAL FOR MEGA 2560, Lesson 4 RGB LED

preview_player
Показать описание
THE MOST COMPLETE STARTER KIT
TUTORIAL FOR MEGA 2560!

Lesson 4 breakdown!

Download the Mega 2560 tutorial here:

Music From:
Eric Godlow

Intro + components needed: (0:00)
Lesson Plan - Overview + RGB LED (0:15)
Lesson Plan - PWM: (1:04)
Lesson Plan - Wiring Diagram: (1:31)
Lesson Plan - Code: (1:57)
Building it!: (3:10)

“Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phonorecords or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright.”
This video and our YouTube channel in general may contain certain copyrighted works that were not specifically authorized to be used by the copyright holder(s), but which we believe in good faith are protected by federal law and the fair use doctrine for one or more of the reasons noted above.
Рекомендации по теме
Комментарии
Автор

The PL for these lessons has given me and my youngest boy something really cool to work through together. I wanna thank you for the quality content :)

ZetaReticulian
Автор

For everybody doing this kit here are some suggestions to get more out of the kit!
-Read the lesson PDF and look up the terms to get familiar with them, looking them up will give a lot more information on top of what's provided.
-When it comes to the code portion look up each of the terms used in the code like #define, int, for, etc. and read about them.
-Run the code provided by Elegoo and then try to replicate it by writing your own code completely from scratch with different names for things, I started with some static colors and then ended up with the same color wave as Elegoo did, my code was a little different but I learned a lot more.
-When plugging things into the breadboard I highly suggest changing it up where possible, no need to follow exactly where Elegoo shows things should go, if you can put something in a different spot and have it work the same it's better to do that so you'll learn more instead of just following directions.
-Get a multimeter and learn how to measure things on your circuits! This will get you familiar with a multimeter as well as the inner workings of the circuit.

One thing I want to mention about the code is that the #define for the time delay is bad practice in their example code.
It should be declared as a "const int" together with your integers for the color values.

Doing all the above not only helped me gain a lot more experience coding but also taught me things like what does the # in #define within the code actually do, how does it work and things like the pins on the Arduino are set to inputs by default, etc

Other than that, have fun and good luck! :D

AntiViGames
Автор

Thank you very much, I have subscribed and liked and hit the notification button!

moplayzthiz_yt
Автор

Nearly passed out when I saw the length of the code

creeper_kid
Автор

nice! the rgb led is much brighter than the other ones lol i got flashbanged

robotnn
Автор

thanks, Do i need to manualy write the whole code ?

akinnon