KPI-Rover / ecu_sw

Розробка програмного забеспеченная для контролера шасі
https://github.com/KPI-Rover
MIT License
1 stars 1 forks source link

ECU: Implement motors control #2

Open AksonovSergei opened 11 months ago

AksonovSergei commented 11 months ago

It is necessary to develop a driver for controlling one channel of the L298N for motor control.

Input data: PWM and movement direction. Output data: control signals for the L298N.

It should be possible to create multiple instances of the driver to control several motors simultaneously.

The driver should be named hal_motor. The driver code should be in separate files: hal_motor.h and hal_motor.c.

AksonovSergei commented 2 days ago

Please use dev branch as a base for your branch.