Hello Brown,
Brown>>
B5 = 0 ' it never goes longer that a single pulse
For B5 = 0 to 10
PulsOut 6, B3
PulsOut 7, B4
Pause 20
Next B5
Low 4
Low 5
<<
A couple of things to look at..
1. the Pause 20... change it to a higher value... 20 milliseconds is only 1 50th of a second. pretty short time to turn. maybe you want something like 200 or 300. for a pause. That is 1/5 of a second. I see that you try to adjust the timeing to 200 mils with the pause 20 and counter. Since I do not know how your setup is.... I am assuming you want a little longer of a pulse. Thus, I would do something a little different....like the following....You will have a hard time convincing me that only a single pulse is happening... I think all your pulses are happening, just way to quick for your project to react the way you want.
B5 = 0 ' it never goes longer that a single pulse
For B6= 0 to 10
For B5 = 0 to 60 'change this value and see what happens....200?
PulsOut 6, B3
PulsOut 7, B4
Pause 1
Next B5
Pause 20
NEXT B6.
Low 4
Low 5
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks