Dishwasher cycle won't finish, heavy cycle light flashing

My dishwasher heavy cycle light flashes a little while after I start the dishwasher and it stops. Occasionally it will run even though the light is flashing. I have tried flipping the circuit, but it keeps happening anyway.

Here are your parts
Parts for Whirlpool KUDI01ILBL1 Dishwasher - AppliancePartsPros.com

See the attachment for your tech sheet.

Could be that you have a stuck key.
You will have to check the control panel (keypad) with a meter to confirm this.
KUDI01.pdf (970.6 KB)