I want void loop to go through once

do you have an external pull-up or pull-down on the button? (third time...)

what are LEN and REN ? (left and right enable?)
share a schema of your setup