D01
gpiod_direction_output(D01, 1);
gpiod_set_value(D01, !(byte & 0x01));
ret = gpiod_get_value(D01);
gpiod_direction_input(D01);