nXn
Newbie level 3
I am new to Atmega .....
I am using AVR studio for programing my atmega 16
But when I give the below statement it doent work...
if(PINC.0==1)
PORTB=0x01;
It doent show any compiling error ....
but when burned in a microcontroller it doent glow the LED which is connected to PORTB.......
I am using AVR studio for programing my atmega 16
But when I give the below statement it doent work...
if(PINC.0==1)
PORTB=0x01;
It doent show any compiling error ....
but when burned in a microcontroller it doent glow the LED which is connected to PORTB.......