Introduction - If you have any usage issues, please Google them yourself
This code is for a square signal generator in a mega328 pro mini board. PORTB0 & PORTD7 are up and down respectively and the output is PB1 or PB2. It was compiled in Codevisionavr