This algorithim improves upon the sample code in lesson 4 "RGB LED" of the elegoo guide for the Mega 2560 microcontroller. This utilizes recursion to cut back on the size of the code from 2180 bytes of memory to 1924 bytes of memory. It should be noted that recursion has no speed or efficiency benefits over the standard "if" statments, but it does allow for an improvment in readability.
-
Notifications
You must be signed in to change notification settings - Fork 0
JacobOuellet/ArduinoRGB
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Recursive Algorithm for RGB (Arduino)
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published