I'm using an ATTiny2313, and I want to use pins 5 and 14 (XTAL1 and XTAL2) as IO pins. My code does this:
DDRA = 0x7; while(1) { PORTA = 0x00; } but I'm still getting 0.22V DC on both XTAL pins (what you usually see if you have a crystal). The fuse bits are set to internal osc 4MHz. Am I missing something?