Simple tweaks in arduino code! URGENT! only few minutes work.

Job ID: 33872346

Budget: $10 – $30 USD

1) Sliding door mechanism with Arduino and two limit switches and IR sensor for detection and anti-pinch.
2) AC signal, IR sensor and motor.

Two arduino codes needed. All the connections are done, even the code is written, but there are a few doubts. the project will hardly take 30 minutes. my budget for this is Rs.1000.