Fatima Zahra Serji
Newbie level 4
- Joined
- Sep 8, 2013
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 46
hello every one,
my objectif is to write a program with mikroC pro for un pic16F876,LCD and keypad...i tried to use the library keypad earldy existed in mikroC pro when i simultated in ISIS is working perefectly but when i put my program in hardware is not work i don't know why so i tried to look for an other solution by using interrupt PortB change state (RB4, RB5,RB6,RB7) but when i similated the program in ISIS i don't see any change of state at this four Ports.
to be more clear i enable bit INTCON.RBIE, INTCON.GIE at function main
i tried to test INTCON.RBIF in onother function called void interrupt() if is true that mean i recieve an interrupt
but nothing work so can i any one give my any advice or show me where i made mistake ????
my objectif is to write a program with mikroC pro for un pic16F876,LCD and keypad...i tried to use the library keypad earldy existed in mikroC pro when i simultated in ISIS is working perefectly but when i put my program in hardware is not work i don't know why so i tried to look for an other solution by using interrupt PortB change state (RB4, RB5,RB6,RB7) but when i similated the program in ISIS i don't see any change of state at this four Ports.
to be more clear i enable bit INTCON.RBIE, INTCON.GIE at function main
i tried to test INTCON.RBIF in onother function called void interrupt() if is true that mean i recieve an interrupt
but nothing work so can i any one give my any advice or show me where i made mistake ????