Can you please help me write a code for an elevator that can function by using a
ID: 3812887 • Letter: C
Question
Can you please help me write a code for an elevator that can function by using a Raspberry Pi 3, 4 Reed Switches, a motor and LED lights. We will have 4 floors and a botton on each floor where it will also have a Reed Switch and a LED light to light up when the elevator is on that floor. The elevator is supposed to go up to any floor when a botton is pressed for that floor and come back to a different floor wherever a botton is pressed. Basically it should work as a real elevator. We will build this elevator with wood and the actual motor, lights and reed swithes and the Raspberry Pi3. Thank you and please check that your code sugestions compile and work. The pictures below are what I have but it doesnt work. Or at least walk me through the first two floors and ill finish the rest. thank you.
Home View Courier New Paste Clipboard Font A A graph elesensor WordPad Find Replace Picture Paint Date and Insert drawing time object Select a Editing lude