Skip to content

The game 2048 implemented on a smart knob off AliExpress.

License

Notifications You must be signed in to change notification settings

prasha-au/smartknob2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Knob 2048

This contains the 2048 game implemented on a stm32 smart knob off AliExpress.

More importantly, it shows:

  • use of Embassy HAL for STM32
  • a testable project structure
  • using EXTI and SPI peripherals
  • setup for RTT debugging

Folder structure

  • /docs - Contains docs for the smart knob hardware.
  • /app - The microcontroller independent game logic.
  • /stm32 - Implementation of the game with STM32 hardware.

Common commands

  • cargo run - From within the stm32 folder, this will build and flash the game to the smart knob with debug output.
  • cargo test - This will run the tests in the app folder.

Preview

smartknob.mp4

About

The game 2048 implemented on a smart knob off AliExpress.

Topics

Resources

License

Stars

Watchers

Forks

Languages