rakhiwilliams
New Member
hi,
i am doing project on pic16f628a.in this i hav to use two seven segment leds of type common anode,3 switches(one is for incrementing number,second for writing to EEPROM and the third switch to get the requiring delay).
i hav connected seven segments of LED to PORTB(RB0-RB7).To glow each segment i hav to give zero voltage(GND) to portpins.
my problem is i am not getting low voltage at RB0.Only this pin is not getting low.its taking continuous high voltage.i am giving the direction as output only.another thing is i am disabling the external interrupts also(which is the alternate function of RB0 pin).
i am setting configuration bits as follows.
_CONFIG_CP_ON&_DATA_CP_ON&_LVP_OFF&_BOREN_OFF&_MCLRE_OFF&_PWRTE_ON&_INTOSC_OSC_NOCLKOUT
i dont know whether RB0 is effecting by these settings .are there any bits which effects RB0?
thank you
i am doing project on pic16f628a.in this i hav to use two seven segment leds of type common anode,3 switches(one is for incrementing number,second for writing to EEPROM and the third switch to get the requiring delay).
i hav connected seven segments of LED to PORTB(RB0-RB7).To glow each segment i hav to give zero voltage(GND) to portpins.
my problem is i am not getting low voltage at RB0.Only this pin is not getting low.its taking continuous high voltage.i am giving the direction as output only.another thing is i am disabling the external interrupts also(which is the alternate function of RB0 pin).
i am setting configuration bits as follows.
_CONFIG_CP_ON&_DATA_CP_ON&_LVP_OFF&_BOREN_OFF&_MCLRE_OFF&_PWRTE_ON&_INTOSC_OSC_NOCLKOUT
i dont know whether RB0 is effecting by these settings .are there any bits which effects RB0?
thank you