change DDRD=0xff; to DDRH=0xff; then output should be on pin 9.
And don't connect it directly to a speaker or led without a resistor ![]()
change DDRD=0xff; to DDRH=0xff; then output should be on pin 9.
And don't connect it directly to a speaker or led without a resistor ![]()