You Wrote:
[code:1:c673ba6303]
$regfile = "m8def.dat"
$crystal = 40000000
$baud = 9600
[/code:1:c673ba6303]
Are you sure, your Mega8 is running at 40MHz?
Change your $crystal to the real frequency of the Mega, then the serial communication should work.
Regards
Günter
↧