Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

atmega 16 PD1 pin not working

3 posts / 0 new
Last post
sharath
sharath's picture
Offline
Last seen: 4 years 3 weeks ago
Joined: 03/03/2012 - 21:43
atmega 16 PD1 pin not working

can anyone tell me why? i set DDRD=0xFF; and PORTD=0xFF; but still have no output only in PD1 rest of the bits are working fine... wat may be the problem?

 

GANEEV SINGH
GANEEV SINGH's picture
Offline
Last seen: 1 week 5 days ago
Joined: 22/07/2013 - 16:08
HiIt seems like there is some

Hi

It seems like there is some hardware issue, maybe that particular pin is not working. Check the same code with another microcontroller to verify.

Ashutosh Bhatt
Ashutosh Bhatt's picture
Offline
Last seen: 3 days 1 hour ago
Joined: 21/12/2010 - 15:59
send your complete code

send your complete code