Professor - Rob Duarte - Spring 2023
Using push buttons with digital inputs to turn LED on/off
The function in setup uses the PULLUP command, which reads when there is nothing connected to the input and pulls it up to HIGH.
The code is designed so that pressing the button will pull LOW using an if statement that calls on both of the buttons constantly.
Next, I started working on building the breadboard circut with the help of the diagram, which came together quickly.
Next, I thought, would be the seamless process of uploading the code and testing my circut. Unfortunately, I kept recieving an error message.
Complicated as it seemed, this error was due to the simple fact that my arduino was not plugged in. Sigh.
With that resolved, I was able to successfully upload my code to the controller.
Is there a specific process for selecting PWM pins for specific tasks?