I have made an elevator project, i am using mikro C and PIC16F877A.
http://www.misr-news.com/test.txt
NB : up and down variables are for the motor to spin in both directions
The project works great on protues but when i wrote it on the PIC and tested on a test board, the LCD and the motor worked fine but the 4 LEDs (led_0,led_1,led_2,led_3) sometimes work, sometimes flashes and sometimes don't even illuminate light !
But when i removed all the LCD commands the LEDs worked great!!
So i only can make one of them work at a time !
http://www.misr-news.com/test.txt
NB : up and down variables are for the motor to spin in both directions
The project works great on protues but when i wrote it on the PIC and tested on a test board, the LCD and the motor worked fine but the 4 LEDs (led_0,led_1,led_2,led_3) sometimes work, sometimes flashes and sometimes don't even illuminate light !
But when i removed all the LCD commands the LEDs worked great!!
So i only can make one of them work at a time !