Hi I am currently building a Wheelchair lift for my college project and I am looking for help with my arduino code. I know its a simple enough code but I have never written one before. What I need the code to achieve.
Push button activated, motor starts rotating the lead screw one direction causing the lift to raise up a certain height and stop.
Next the push button gets activated again and the motor rotates the opposite direction causing the lift to lower until it hits the bottom and stop.
If anybody can help me it would be great thanks