Digital project
Digital project
Code for weather data API challenge problems
Initially, I struggled with figuring out the structure and syntax of this code, but with the help of our friend "Blob," I was able to create work through the issues
https://gist.github.com/SchoolCodeStuff/ee98d265dfdb74d62a167336f3539492
My Digital project design
For my digital project, I plan to make use of the Three buttons on the side of the microcontroller and make rock paper sisters. I'll use the extra wood from my enclosure to laser-cut the RPS and attach it to the side.
My compleated digital project
This is my digital project. As stated above it plays rock paper scissors which it does. Press the first button to play paper and the third to play scissors. This only works if you get the timing right but it works nonetheless. One thing I struggled with while making this was working on adapting the initial code to function on the microcontroller and the buttons. I learned from this experience that you should know the capabilities of a device before you use it. specifically, here I realized that for the buttons to function one of the buttons (the one set to up) needs to repeatedly give its output while the others only give an output when pressed resulting in the timing issue. The code is linked below
https://gist.github.com/SchoolCodeStuff/18d046e8909e085bf13a240070153c77