WEMOS D1 Mini to Microcontroller for Worm Drives

nptt13:
I have wrote them as Read - LSDin in one of the 4. LSDin = D2 then I identify LSDin as buttonStateLeftSideDown? I really don't know what you are referring to as what you stated. D1 through D4 are inputs. Unless you are speaking of how I hard wired it wrong.

In reply #4 you have buttons (so inputs) and LEDs (so outputs) connected to the same pins, this is all wrong. If you want D1 to D4 to be inputs for the buttons then you need to connect just buttons, not LEDs. Reply #5 tells you how to connect them.

There is a similar discussion here that might help you:
https://forum.arduino.cc/index.php?topic=729229.new;topicseen#new