So I have figured out how to switch between led shows using a function called switch. All i have to do is run the function in loop and I input the value of what led show i am on (as an integer). So the switch function ends up running the function that corresponds to the value it is given and then runs everything after that, but you can make it only run the specific function by breaking the switch function.
0 Comments
Leave a Reply. |
What's Going on Here?This is Ethan's blog about the progress done on their Capstone Project (final project) for their Computer Science 30 course.
Resources UsedArduino Reference Page
Interrupt Reference Interrupt Millis Function Arduino Forum Page Adafruit Button Help Sub Reddit Button Help Example Code UsedThe Led ShowsMy ProjectClick Here to go and take a look at the code for my project and maybe even download and use it if you want.
|