Skip to content

bertoncelj/stm32-LedCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RGB LED Cube 4x4x4 TicTacToe

Cube when user can play 4x4x4 TicTacToe game vs computer which uses MinMax algorithm. Software runs on STM32F4DISCOVERY kit with high performance micro controller STM32F407VGT6. LEDS are control by TLC5940 chip.

Cube

Album - Pictures, Anim., end project

Description

Runs on 3 TLC5940, which each one control one of three colors. TLC have 16 outputs where is connected LED cathode and it can be pushed to the ground. 4 layers (16 leds in one layer) in high, toggled by MOSFETS, one layer at the time. Game TicTacToe can be play on where user with 3 potentiometers add his own coordinates in. Computer uses [MinMax] logic to calculate his next move. First one to 4 in a row wins!

Datasheet

Installing

What things you need to install the software and how to install them

Built With

Running the tests TicTacToe MinMax algorithem

Test in terminal Console-Application. Play vs computer with 2 layer depth recursive function. Run ConsoleApp_main.c in terminal:

make ConsoleApp_main

Run it:

./ConsoleApp_main

Play by type number from 1 to 64. Imagine 2D board as 3D cube stuck layer on top of layer.

Authors

About

Building RGB 4x4x4 Led Cube on stm32f4 Discovery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors