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

Thread: Website says Teensy 4.0 4.1 4.x does not support AnalogWriteFrequency

  1. #1
    Junior Member
    Join Date
    Jun 2022
    Posts
    3

    Website says Teensy 4.0 4.1 4.x does not support AnalogWriteFrequency

    Hi All!
    I found several folks in the forum using AnalogWriteFrequency on Teensy 4.x, but the website says it is only for the Teenst LC and 3.x Boards.

    "Teensy LC & 3.x support the analogWriteFrequency(pin, frequency) function to easily configure the PWM."

    Am I misunderstanding things? It seems perhaps the page was not updates fully for the Teensy 4.x.

    Thank you for your work!

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,558
    Thanks for the report...

    I went ahead and created a new issue https://github.com/PaulStoffregen/We...ates/issues/31
    In Paul's web site needs updates github project. So hopefully he will get a chance to resolve some of these things, once things get back to normal.

    Edit: Note: I think you are referring to the statement:
    Teensy LC & 3.x support the analogWriteFrequency(pin, frequency) function to easily configure the PWM.
    Just above this is a table showing which pins on T4.x support PWM and default frequency... It also mentions the limitation, that a timer may support more than one pin (like up to 3) and if you are using on PWM on multiple of these pins, changing the frequency effects all of those pins in the group.

  3. #3
    Junior Member
    Join Date
    Jun 2022
    Posts
    3
    Thanks KurtE! Thats exactly what I was referring to. I didn't realize the site was managed on GitHub, thanks for copying it over for me!

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,558
    There is also a thread, called something like the website could use some updates. That had tons of pages on it.

    So Paul creates a Github project, I mentioned that he asked for some of us to go through it and create issues for him, so trees don't get lost in the forest.

Posting Permissions

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