Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 821 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 821 Bytes

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