nXn
Newbie level 3
Hi...
I am new to avr programing.I had gone throught some data sheets and have made some attempt to proraming.Starting off with the basic program of reading if a pin is set to high and then if high set another pin to high.
When i use the below code and try it doesnt give a output.The best part is that the compiler neither shows an error.
if PINC.0==1
PORTB=0xff;
i am not sure if the PINC.0 statement is right .plz help...
I am new to avr programing.I had gone throught some data sheets and have made some attempt to proraming.Starting off with the basic program of reading if a pin is set to high and then if high set another pin to high.
When i use the below code and try it doesnt give a output.The best part is that the compiler neither shows an error.
if PINC.0==1
PORTB=0xff;
i am not sure if the PINC.0 statement is right .plz help...