Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c29 static int left_line; variable
35 left_line = gpio_pin_get_dt(&left_gpio); in left_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()
83 if ((left_line == 1) && in line_follow()
88 if ((left_line == 1) && (right_line == 0)) { in line_follow()