your code does not show if you use the default lib or some other lib?
and do you have WR connected to ground or a pin ?
what i do miss : $crystal = somevalue
that is important for timing.
↧