Skip to content
Snippets Groups Projects
Commit 340c6c80 authored by Neil Gershenfeld (test)'s avatar Neil Gershenfeld (test)
Browse files

wip

parent 6c62429f
No related branches found
No related tags found
No related merge requests found
Pipeline #9460 passed
......@@ -25,9 +25,9 @@ int main(int argc, char **argv) {
linein = gpiod_chip_get_line(chip,pinin);
gpiod_line_request_input(linein,"main");
while (1) {
if (gpiod_line_get_value(linein))
if (gpiod_line_get_value(linein))
gpiod_line_set_value(lineout,0);
else
else
gpiod_line_set_value(lineout,1);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment