Hi all,
I tried to use the MCLR pin to function as IOC, it suppose to ON the output when a button being pressed, the button is hooked to Vcc via an 100 ohm, and the pin is pull down to 0V via 10k ohm, but now the output started work once power up the mcu.
The pins 3;6 & 7 are to be assigned to other sensing usage.
PIC12F615, mikroC to program.
The source code is attached.
Please advice.
Thx
oookey
I tried to use the MCLR pin to function as IOC, it suppose to ON the output when a button being pressed, the button is hooked to Vcc via an 100 ohm, and the pin is pull down to 0V via 10k ohm, but now the output started work once power up the mcu.
The pins 3;6 & 7 are to be assigned to other sensing usage.
PIC12F615, mikroC to program.
The source code is attached.
Please advice.
Thx
oookey
Attachments
-
1.1 KB Views: 27