Arduino Nano Pac Man

The legendary Pac Man on an Arduino Nano (or Uno) using TV Out

Feb 12, 2022

12980 views

4 respects

Components and supplies

1

Through Hole Resistor, 1 kohm

1

Atari Joystick

1

Speaker, Piezo

1

Arduino Nano R3

5

Through Hole Resistor, 100 kohm

1

Through Hole Resistor, 470 ohm

5

Pushbutton Switch, Momentary

Project description

Code

TVpacman.ino

arduino

bitmap.h

arduino

bitmap.h

arduino

TVpacman.ino

arduino

pitches.h

arduino

Downloadable files

Pinout schematics

Pinout schematics

Pinout schematics

Pinout schematics

Comments

Only logged in users can leave comments

462800

a year ago

Another thing about that, all of them get red so none of those work.

462800

a year ago

Something goes wrong on this part of the code: if (num == 0) TV.bitmap (pos,88,nu0); if (num == 1) TV.bitmap (pos,88,nu1); if (num == 2) TV.bitmap (pos,88,nu2); if (num == 3) TV.bitmap (pos,88,nu3); if (num == 4) TV.bitmap (pos,88,nu4); if (num == 5) TV.bitmap (pos,88,nu5); if (num == 6) TV.bitmap (pos,88,nu6); if (num == 7) TV.bitmap (pos,88,nu7); if (num == 8) TV.bitmap (pos,88,nu8); if (num == 9) TV.bitmap (pos,88,nu9); It gives a error code and I don't know what the problem is, it give's the error code: Compilation error: 'nu0' was not declared in this scope I hope there is a solution for this.

giobbino

a year ago

**** READ ME IF YOU EXPERIENCED A PROBLEM WITH FONTALL.H MISSING! **** Some users told me about this problem while compiling. If you have the same issue, please follow these instrucions. - Go to the https://github.com/Avamander/arduino-tvout page - download the libraries (button code -> download ZIP) - open the zip, extract the two folders TVout and TVoutfonts - go in the Arduino libraries folder (it should be in your Documents folder -> Arduino -> libraries) - copy the two folders (TVout and TVoutfonts) in the libraries folder mentioned above Should be ok now!

desertwalker66

a year ago

Thanks for this. I appreciate this