Skip to content

A game disgned for 8051 series single chips where player try to stack flat platforms as high as possible.

Notifications You must be signed in to change notification settings

lrnbrad/8051-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

8051-stack

A game disgned for 8051 series single chips where player try to stack flat platforms as high as possible.

Wiring

Port Device
P0, P2 8 * 8 dot matrix LED display
P1 Array of 8 LEDs
P3.4 Speaker
P3.2 Main Push button

Seven-segment display (7LED)

  • 7LED port
8051 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6
7LED A B C D E F G
  • How to light a 7LED

Ten digits 7LED <= P1.7 get Low

Digits 7LED <= P1.7 get Hi

LED dot (dotm)

  • How to light a LED dot :

R <= HI

C <= Low

  • LED dot's port

HI port

8051 P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7
dotm R1 R2 R3 R4 R5 R6 R7 R8

Low port

8051 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7
dotm C1 C2 C3 C4 C5 C6 C7 C8

Links

Project Hierarchy

  • inc/: where .h files should be.
  • src/: where .c files should be.
  • tests/: simple program for testing each device.

About

A game disgned for 8051 series single chips where player try to stack flat platforms as high as possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%