Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Ultrasonic PWM

  1. #1

    Ultrasonic PWM

    Urgently need approx 31KHz on any PWM pin of the Teensy 3.0 Can someone suggest exact settings for the Timers, etc to simply call it in the setup().

    Thank You in advance.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,834
    Please use this thread.

    http://forum.pjrc.com/threads/518-PW...on-Teensy-3%29

    The API for this is being discussed (perhaps too much) on the Arduino developer mail list right now. Actually, for the last 5 days.

    If you could very briefly mention why you need 31 kHz, it might really help. But please do so on that other thread. That's where I'll (probably soon) be posting code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •