adnan namal
Junior Member level 3
- Joined
- Dec 17, 2013
- Messages
- 26
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 3
- Activity points
- 178
I am working on my FYP "controller for three storey elevator". The main problem is that i am not good in programming. I designed a prototype for my project, there is no door option and i used 4 limit switches one on 1st floor, two are on 2nd floor for up down call and one is at floor 3. There are three switches inside the lift for three floors. I am using pic16f877a micro-controller for my project and three light sensors to detect lift car. I need help how to program micro-controller using real traffic management system for lift. It is not possible to use only if, else statement, i saw on different forums, blogs and papers they used switch statement but i don't understand it. I will be grateful i someone help me to figure it out.