- Sat Sep 27, 2008 7:17 pm
#56078
Hi I'm up to this part of the tutorial:
http://www.sparkfun.com/commerce/tutori ... als_id=105
I've set the fuse bits for a 16Mhz crystal on my ATMega168. I'm still not sure what SUT_CKSEL to pick, so I picked the very last one on the list. I got the RS232 shifter board and it seems to be working fine, when I tie RX and TX the keyboard echoes correctly to TeraTerm. But the program in the tutorial doesn't work, when I run it, all it does is print boxes, which I'm guessing means an unknown character or it didn't receive it correctly. Does anyone know how to make it print correctly, or what I might be doing wrong? Here is the code of the tutorial.
http://www.sparkfun.com/tutorial/Beginn ... ega168.zip
Thanks!
http://www.sparkfun.com/commerce/tutori ... als_id=105
I've set the fuse bits for a 16Mhz crystal on my ATMega168. I'm still not sure what SUT_CKSEL to pick, so I picked the very last one on the list. I got the RS232 shifter board and it seems to be working fine, when I tie RX and TX the keyboard echoes correctly to TeraTerm. But the program in the tutorial doesn't work, when I run it, all it does is print boxes, which I'm guessing means an unknown character or it didn't receive it correctly. Does anyone know how to make it print correctly, or what I might be doing wrong? Here is the code of the tutorial.
http://www.sparkfun.com/tutorial/Beginn ... ega168.zip
Thanks!