bigreat
Member level 1
Atmega32l PortC question
i do these code:
but i use a led test every one port of portc
when i test pc0,1,6,7,the led is normally bright
when i test pc2,3,5 the led is only a little bright
when i test pc4,the led is went out
what's the matter with portc
is it damage
or i didn't set it right?
thank you
i do these code:
Code:
.def mp=r16
ldi mp,0xff
out ddrc,mp
out portc,mp
but i use a led test every one port of portc
when i test pc0,1,6,7,the led is normally bright
when i test pc2,3,5 the led is only a little bright
when i test pc4,the led is went out
what's the matter with portc
is it damage
or i didn't set it right?
thank you