Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c30 static int right_line; variable
41 right_line = gpio_pin_get_dt(&right_gpio); in right_irq()
68 if ((left_line == 0) && (right_line == 0)) { in line_follow()
72 if ((left_line == 0) && (right_line == 1)) { in line_follow()
75 if ((left_line == 1) && (right_line == 1)) { in line_follow()
80 if ((left_line == 1) && (right_line == 0)) { in line_follow()
84 (right_line == 1)) { in line_follow()
88 if ((left_line == 1) && (right_line == 0)) { in line_follow()