Home
last modified time | relevance | path

Searched refs:motor_control (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c44 static void motor_control(enum motor motor, int16_t speed) in motor_control() function
69 motor_control(MOTOR_LEFT, 200); in line_follow()
70 motor_control(MOTOR_RIGHT, 200); in line_follow()
73 motor_control(MOTOR_LEFT, 0); in line_follow()
74 motor_control(MOTOR_RIGHT, 200); in line_follow()
76 motor_control(MOTOR_LEFT, 0); in line_follow()
77 motor_control(MOTOR_RIGHT, 200); in line_follow()
81 motor_control(MOTOR_LEFT, 200); in line_follow()
82 motor_control(MOTOR_RIGHT, 0); in line_follow()
85 motor_control(MOTOR_LEFT, 200); in line_follow()
[all …]