Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 863 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 863 Bytes

ti-mspm0-car

English | 简体中文

Based on the Texas Instruments MSPM0L1306, here is a simple car code project.

2024 Electrical Competition Problem H Project

Note: This project was written during the summer of 2023. Please be aware of any updates to the M0 SDK related APIs when using.

The source code is located in the src folder and includes the following functionalities:

  • Motor driver (motor)
  • Encoder driver (encoder)
  • I2C application layer functions (i2c_app)
  • Reading data from JY901 attitude sensor (jy901)
  • SSD1306 screen driver (OLED)
  • Simple PID speed control (pid)
  • Serial printf function (uart_printf)
  • Delay functions and functions to get runtime (time)

The project includes a test main program, and the Ti Syscfg configuration file needs to be imported along with it.