This project is a game developed using the STM32 IoT Node and web interactions. It aims to implement game functionalities through actual hardware controls and web interactions.
Follow these steps to install the project:
-
Clone the project:
git clone https://github.com/lin-1214/2024Spring_ESLAB_Final.git
-
Open the project with Mbed Studio.
-
Open
mbed-dsp/cmsis_dsp/TransformFunctions/arm_bitreversal2.S
and add#define __CC_ARM
on line 43 -
Set the target hardware to DISCO-L475VG-IOT01A or B-L475E-IOT01A*.
-
Build the project and run.
-
Clone the project:
git clone https://github.com/lin-1214/2024Spring_ESLAB_Final.git
-
Go to the web directory
cd ./web
-
Install the packages
pnpm install
-
Run up the website
pnpm vite
-
Connect STM32 by BLE and enjoy the game
-
Set up the web browser and STM32 following the steps mentioned above.
-
Once the STM32 connected, you can start the game!