1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_motor_driver
Leandro Lanzieri 20c5552920
tests: add Kconfig configuration files for multiple driver tests
Configurations for the following applications have been added:

l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
..
app.config.test tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
main.c tests/driver_motor_driver: fix NDEBUG compile problem 2020-03-12 17:44:41 +01:00
Makefile tests: add motor_driver test 2019-03-11 01:44:22 +01:00
README.md tests: add motor_driver test 2019-03-11 01:44:22 +01:00

Motor driver test

Background

Test for the high level motor_driver driver.

Expected result

Should do an infinite loop : 1) Both motors should turn at half pwm duty cycle speed in clowkwise direction. 2) Both motors should turn at full pwm duty cycle speed in clowkwise direction. 3) Both motors should brake. 4) Both motors should turn at half pwm duty cycle speed in counter clowkwise direction. 5) Both motors should turn at full pwm duty cycle speed in counter clowkwise direction. 6) Both motors should brake.