ultrasonic sensors works fine until i merge codes into it

groundFungus, aaahhh such a silly stupid mistake i was scratching my head from yesterday pin 5 indeed cannot be shared i was using it for testing when i merge that code i didnt notice ...

wvmarie, it wasn't sharing actually in the setup I set 1 to output and other to input so the last recent update changed the previous one .. that's why it wasn't working ... it works now
and i'll change the declaration part into const byte data type :slight_smile: thanks so much

thanks all of you <3