Logic Tutorial: 8-state button