nXn
Newbie level 3
- Joined
- Dec 30, 2009
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- UAE
- Activity points
- 1,339
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...