fuzzzy
Full Member level 3
pic16f876 portpin
Hi
I've got a little problem.
I have 3 led and a buzzer on ports A0, A1, A2, A3.
i'm using a 16f876
I can't understand why if I set high these ports, A0,A2 and A3 they make less light than A1.
it seems like these ports flashes at very high frequncy while A1 is always high.
when my code find a delay, leds remain low or high for the delay.
there is no pullup on these ports. I set correctly TRIS to 0.
it seems like ports goes in input during the code and then when I order to set high they go high for awhile and then they go down.
my code is in CCS C.
Could you help me??
Hi
I've got a little problem.
I have 3 led and a buzzer on ports A0, A1, A2, A3.
i'm using a 16f876
I can't understand why if I set high these ports, A0,A2 and A3 they make less light than A1.
it seems like these ports flashes at very high frequncy while A1 is always high.
when my code find a delay, leds remain low or high for the delay.
there is no pullup on these ports. I set correctly TRIS to 0.
it seems like ports goes in input during the code and then when I order to set high they go high for awhile and then they go down.
my code is in CCS C.
Could you help me??