gauravkothari23
Advanced Member level 2
- Joined
- Mar 21, 2015
- Messages
- 644
- Helped
- 5
- Reputation
- 10
- Reaction score
- 4
- Trophy points
- 1,298
- Activity points
- 6,951
Hi.
I am trying to make an password based locker for which i i am using 89s52, 4x3 matrix keypad and an 16x2LCD display. i want to write a function which runs in background or it checks if a specific key(Key assigned for that function say A) if pressed whenever or anytime even if in the middle of the whole program, it will execute that function. say suppose i want to write a function to on/off an led which is connected to port 2 of controller. and button A of keypad is assign to do that. i want if button 'A' is pressed anytime the led should turn on or off.
if this thing is possible than plz can anyone help me....
I am trying to make an password based locker for which i i am using 89s52, 4x3 matrix keypad and an 16x2LCD display. i want to write a function which runs in background or it checks if a specific key(Key assigned for that function say A) if pressed whenever or anytime even if in the middle of the whole program, it will execute that function. say suppose i want to write a function to on/off an led which is connected to port 2 of controller. and button A of keypad is assign to do that. i want if button 'A' is pressed anytime the led should turn on or off.
if this thing is possible than plz can anyone help me....