Arduino Uno R4 WiFi LESSON 30: Create a One Player Pong Game on the R4 WiFi Matrix

preview_player
Показать описание
Pick your Sunfounder kit up so you get the same results I do:

You can pick up the neat jumper wires I showed in the video here:

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this video I show you how to use the Arduino uno R4 WiFi built in LED, and we will create a one person pong game . You can expand the concept to build a two person game by including two more button game controllers.. Enjoy!

#arduinor4wifi
#pong
#tutorial
Рекомендации по теме
Комментарии
Автор

Thanks Paul. You are doing good things here.

patrickfox-roberts
Автор

When processing your yellow and blue buttons, don't you need to verify that you haven't allowed myRow to be a value less than 0 or greater than 7?

DONCRAGUN
Автор

I had hoped to use interrupts to rapidly move the paddle as my snazzy upgrade. I did get to use an interrupt to blink a LED, but I could get the routine to just move the paddle one position as I held the button down. Spent too much time on it. My current code does a "splash" when the game is over so that will have to do.

robertschuldenfrei
Автор

I don't think your code updates the player pixel at twice the speed of the game pixel, becasue you only paint the screen every other "cnt" value. I think you need to paint the screen at the fast rate, but only update the game pixel every other update.

rogersanderson
Автор

My comment about lesson 29 has disappeared. Anyway, my pong game is available to watch on my channel.

charlotteswift
Автор

Where did u get the erasible tablet u use. 3rd request.

barryolson
Автор

SUCCESS : I finally got the pong game working with interrupts. Please disregard the comment below as it is working now.

robertschuldenfrei
Автор

I added a speaker to play a blip whenever the ball hit an edge and a buzzer when the game ended, but my microphone wouldn't pick up the noise, there is no point in posting my solution here.

jeff_wild
Автор

Thanks for the excellent lesson, Paul! Having too much trouble posting comments here with links. Please see two solutions on my page: the first implements single player Pong using an ultrasonic sensor to control the paddle, and the second (at the recommendation of @bigbogeyface) implements a Breakout style game.

scottpettygrove
Автор

Too difficult now, I’m not going to be able to think like an engineer, I’ve folded, I’m out 😢

Автор

Hi
My arduino mega bord is not working . Reset button is not worked or not uploaded program. And show this message

NeFo-omfk