Question about Option_Reg
Hi, I would like to ask something about option_reg:-
If I want to make a system where PIC does somthing upon a switch press. A correct statement would be (Considering the use of OPTION_REG):
A) Enable the PULL UP or PULL DOWN and connect the switch between Gnd and the PIC pin or the other way around.
B) It does not work when pins are made as inputs so connect external resistance to GND. The switch between VCC and PIC pin or other way around?
I did try to find this answer in datasheet but unfortunately either I missed it or it's not there. Thanks for your help.
___________________
WHY things get boring when they work just fine?
Bookmarks