Hello.
If you want our help, please read our forum guidelines on asking a question and make another post in this thread that meets these guidelines (although if you follow the general troubleshooting advice at the top, you’ll probably figure out the problem on your own). Do you not see how inadequate your post is when it comes to providing people with the information they need to help you?
If you want to try to solve the problem yourself, you should look into using the Pololu AVR library. If you use functions from the library, you could probably reduce your program to a few lines.
- Ben
