Our example code is verified to work correctly. Have you verified your signals are working/toggling correctly with a scope?Also, typically you need to set up the ports as outputs in your code.For example : DDRB = 0xFF;DDRD = 0xFF;