Thanks for your help
problem has been solved wrong value decoupling cap 10nf instead of 100nf across picaxe supply soldered across socket pins helped
lowered setfreq to M8 all seems to work ok now.
There is another similar section of code to add which I am working on and is working in...
I have built a large model crane and am using picaxe to try and simulate realistic control and driver information read out.
The control of the motors is all sorted and working smoothly.
my problem is with the displays 3-20x4 lcds
my first problem is with the alarm sound on line 29 program works...