Hi, im doing some project using PIC16F877A, it used two button and two LED and input and output. First button press LED1 light up, second button press and LED2 light up. The problem is how can and it is possible to make the output hold on last action i did.
Exampe : First on pic board two LED not light on, then i push first push button and LED1 light up, then i push second push button LED1 off then LED2 light on. But after i switch of pic board power and on back the two LED not light on like last action i did.
How can i make it hold with last action i did even i switch off PIC board power?
Exampe : First on pic board two LED not light on, then i push first push button and LED1 light up, then i push second push button LED1 off then LED2 light on. But after i switch of pic board power and on back the two LED not light on like last action i did.
How can i make it hold with last action i did even i switch off PIC board power?