enter image description here

I want to generate about 16 square wave with delay time initial as the following figure .It mean each pulse generated must delay with a value of delay time before it generated with frequency about 40khz.

  • You are not really explaining what you want to do. Your request is too vague. From what I have gleaned from your earlier questions it is possible to do what you want. It will need effort on your part though. I suggest you start experimenting to see how waves work. I also suggest you'll need to draw out on paper what you want to happen. Clue - you probably want to construct a wave 50µs long and repeat that wave. – joan Sep 21 '16 at 8:33

Thanks for your recommend, @joan. Acctually I'm have chaotised to resolve this probem. I have used piscope to observe behavior of waveform how when I change duty cycle on set(pin, dc) function that you guided me but it seems not accurately as things I want. I can't observe when pulse start generated and to must delay it how? Can I observe all pulses generated on GPIO in realtime by piscope? acctually I'm not still understand how set(pin,dc)function operate as https://raspberrypi.stackexchange.com/questions/54859/can-any-library-generate-25-square-wave-40khz-on-gpio-pin-of-raspberry-pi-2-mode/54992?noredirect=1#comment83312_54992

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.