Newbie level 1
Im trying to code a simple elevator for one of my classes and I am quite stuck any help would be appreciated. I am to display the target floor and present floor on two different seven segments, with a clock and switch. The present floor must count up or down to the target floor when the switch is pressed. I dont understand how I would implement the switch into the coding.