LCD and LEDs can't work at the same time !!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
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 !
0 Likes
1 Reply
Juergen
Employee
Employee
Hi Kareem,

I have made a similar kit using Infineon XC836 driving five LEDs, one Vacuum Fluorescent Display and detecting ten capacitive touch pads. It works fine 🙂
Why don't you try using Infineon XC836 easy kit with the free toolchain? You will find it easy to use and plenty examples available on the CD.

Best Regards
Jurgen
0 Likes