ysyogeshshende
New Member
Hi sir
I am trying write c code for PIC12f629/PIC12f675 Microcontroller as per below points but i am failed ,please help me write code
I write code i MPLAB X XC8 complier
Points -
1 -
When PIC12f629 Power Connect (power on ) and switch 1(GP3 pin ) is high ( Switch pressed ) Led1 Blink ( gp1) 5 sec and sleep mode on ( power stand by mode on )
2-
after that if switch(gp3) is release low ( switch 0 ) led1 blink (gp1) 5 sec and sleep mode on ( power stand by mode on )
3-
again pressed switch (GP3 ) is high led2 ( gp2) continue on until switch is release ( switch 0 )
4
switch(gp3) Release Switch 0 - again led1 (gp1) blink 5 sec and sleep
please help me
I am trying write c code for PIC12f629/PIC12f675 Microcontroller as per below points but i am failed ,please help me write code
I write code i MPLAB X XC8 complier
Points -
1 -
When PIC12f629 Power Connect (power on ) and switch 1(GP3 pin ) is high ( Switch pressed ) Led1 Blink ( gp1) 5 sec and sleep mode on ( power stand by mode on )
2-
after that if switch(gp3) is release low ( switch 0 ) led1 blink (gp1) 5 sec and sleep mode on ( power stand by mode on )
3-
again pressed switch (GP3 ) is high led2 ( gp2) continue on until switch is release ( switch 0 )
4
switch(gp3) Release Switch 0 - again led1 (gp1) blink 5 sec and sleep
please help me