Skip to content

bartekk2908/PIC16F877A_sequence_memory_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PIC16F877A_sequence_memory_game

Simple game for PIC16F877A microcontroller that tests your sequence memory.

Usage

You can run it on PicSimLab simulator.
Run PicSimLab, select Board > Breadboard, Microcontroller > PIC16F877A, File > Load_Hex and select sequence_memo.X.production.hex file.
Then go to Modules > Spare_parts, in second window go to File > Load_configuration and select sequence_memo.pcf file.
Configuration should look like shown below



Upper part is just set of eight leds that show you sequence and number of left lifes during a game.
Bottom part is set of eight push buttons.

When you load .hex file, click any button to start a new game. After displayed sequence of colourful leds you have to click correct buttons under corresponding leds in same order as leds were lighted.
Game starts with sequence of lenght 1 and will act correctly untill you get to the sequence of lenght 80. A sequence is being generated randomly.

About

Simple game for PIC16F877A microcontroller that tests your sequence memory.

Topics

Resources

Stars

Watchers

Forks