troubleshooting

power OK? inputs sane? divide & test
  1. power first: correct voltage, polarity, and ground continuity
  2. inputs sane: pull-ups/downs in place; no floating pins
  3. divide: test sub-circuits; bypass blocks to isolate faults
  4. probe: DMM for DC; logic probe/LED for digital; scope if available
try this
print debug (serial) and blink LEDs to show progress paths.