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

Thread: Teensy 4.1 Fast PWM Library?

  1. #1
    Junior Member
    Join Date
    Jul 2020
    Posts
    12

    Teensy 4.1 Fast PWM Library?

    Dear forum members,

    Is there any library for fast PWM for the Teensy 4.1?

    For Arduino I used https://github.com/micooke/PWM

    Will using:
    Code:
    analogWriteFrequency(7, 20000000);
    
    analogWrite(7, 100);
    be enough?

    Will 'analogWrite' timers conflict with 'IntervalTimer' timers? Or do they use different timers?

    Thanks!
    Last edited by Tom1; 07-10-2020 at 04:18 AM.

Posting Permissions

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