mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
37cfd17de6
Test motor_driver API by making 2 motors turn clockwise and counter-clockwise alternatively. Speed varies from 0 to max PWM duty cycle. Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
17 lines
316 B
Makefile
17 lines
316 B
Makefile
BOARD ?= native
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
USEMODULE += motor_driver
|
|
USEMODULE += shell
|
|
USEMODULE += shell_commands
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_qdec
|
|
FEATURES_REQUIRED += motor_driver
|
|
|
|
CFLAGS += -DLOG_LEVEL=LOG_DEBUG
|
|
CFLAGS += -DDEBUG_ASSERT_VERBOSE
|
|
|
|
include $(RIOTBASE)/Makefile.include
|