Dishwasher help

Dishwasher will fill. Once it is filled it won’t start to wash on any cycles or on the rinse cycle. After it fills I can hear a click and then nothing, and on occasion after the click I can hear a hum. I have made sure the float is not jammed and moves freely, and if I hit the cancel/drain it will drain OK. Any help?