I was testing my new (renewed) VSM on M2 parts but I'm getting very odd results with this basic code. The Scope indicates high sate = 200uS and low state = 300uS. I doubt that the picaxe is at fault. As you can see the frequency 50KHz (1/T) and the duty cycle which should be 50% are grossly in error. Are there any reported bugs with the Scope or the PauseuS command.
Code:
' Chipset: Picaxe 08M2
' Project: PauseuS Accuracy Test
Start:
High b.2
Pauseus 1 ' keep pin High for 10uS
Low b.2
Pauseus 1 ' keep pin Low for 10uS
GoTo Start