top of page
Search
  • kgriesh1

Assignment 5

For this project I was trying to find ways to incorporate the potentiometer and a button. What I did was, I had the potentiometer connected to p1 and the button connected to p2. I included that when you press the button the number 1 will show up on the microbit and when it is not being pressed the number 0 shows up on the microbit. I also included some logic. I put that if the button is being pressed then the speaker will be playing a tone for a 1/8 beat, and when the button is not being pressed then the speaker will play a tone for a 1/2 beat. I did not have any difficulties with the wiring or the codingfor this project. I just had to figure out what I actually wanted to do and experiment with it.

https://makecode.microbit.org/_VipW1oc27iVa


14 views0 comments

Recent Posts

See All

Final Project Process Cont.

So I decided to extend the goals to the top and bottom of the screen. So when the ball hits the right or left side it enters the whole goal. Another thing I did was when the game ends it will say, for

Final Project Process Cont.

For my project I was able to add the feature of the game ending when the blue team wins, I need to figure out how to get the game to end when the purple team wins as well. I also need to add in where

Final Project Process Cont.

For my project I got rid of being able to increase the ball size. I got rid of it because my professor had a very good point that anyone could cheat by increasing the size of the ball so that it hits

Post: Blog2_Post
bottom of page