That's probably the key right there. If you've got a 'scope, write a program to toggle and LED at a known rate, then 'scope it. If not, put a crystal or some sort of oscillator on it. That internal 4mhz might not be 4mhz. You probably have to tweak your OSCCAL value a bit to get it to work. Try 300 baud and see what happens. The slower you go, the more tolerant you can be of being off frequency.
Bookmarks