| Author |
Message |
Dave Everett Regular Member
 Joined: 24/06/2011 Location: AustraliaPosts: 43 |
| Posted: 04:47am 21 Mar 2012 |
|
|
|
I have MM3.1 loaded onto a UBW32 and have been testing the PULSE command and found it varies greatly.
I am using pin 20 for all my tests and a Saleae
logic analyser to measure the pulses.
Pulse 20,2 gives varying pulse widths anywhere from 1ms to 1.5ms.
If someone else has a UBW32, could they check and see if they are getting similar variability.
Thanks,
Dave
|
|
ernie Newbie
 Joined: 18/03/2012 Location: AustraliaPosts: 14 |
| Posted: 05:34am 21 Mar 2012 |
|
|
|
From the MMBASIC 3.1 manual:
So if the pulse is 1ms or more, the accuracy drops to ± 0.5 mS as it runs in the background.
That may be your problem.
Try some pulses less than 1mS and see how accurate it is.
Edited by ernie 2012-03-22 |
|
Dave Everett Regular Member
 Joined: 24/06/2011 Location: AustraliaPosts: 43 |
| Posted: 05:56am 21 Mar 2012 |
|
|
|
I totally missed that Ernie. I read it as 0.5us not ms, but you're right, the accuracy drops significantly.
I'll run some tests next week.
Dave |
|