Hello! I need help with a code for a 4-story elevator project for an engineering class than includes GPIOS and wiring. I am a sophomore student in electrical engineering, and the class uses basic and simple C programming. Our code is supposed to be for a mini elevator we have built with 4 floors and 4 buttons. If we press button 1, the elevator has to go to floor 1. Button 2 --> floor 2, etc. We used 4 reed switches, 1 at each floor, and a magnet attached to the elevator to detect where the elevator is at. Our code, however does not seem to be functioning properly.