D02
gpiod_direction_output(D02, 1);
gpiod_set_value(D02, !(byte & 0x02));
ret |= gpiod_get_value(D02) << 1;
gpiod_direction_input(D02);