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

Thread: teensy 3.6 pins 30, 36, 38 documentation error

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    162

    teensy 3.6 pins 30, 36, 38 documentation error

    The 3.6 pinout shows pins 30, 36, 40 to be PWM, however, the PWM list does not include these pins for the Teensy 3.6 ?

    Which is correct?

    thanks

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,406
    Not sure of the reference used for p#1?

    The code shows this - ...\hardware\teensy\avr\cores\teensy3\pins_arduino .h::
    Code:
    #elif defined(__MK66FX1M0__)
      #define digitalPinHasPWM(p) (((p) >= 2 && (p) <= 10) || (p) == 14 || (p) == 16 || (p) == 17 || ((p) >= 20 && (p) <= 23) || (p) == 29 || (p) == 30 || ((p) >= 35 && (p) <= 38))
    #endif
    That matches the T_3.6 card here.

    Does include pins 30 and 36, but not 40.

  3. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    162
    Than you for pointing out the file.
    I get it.

    My bad, I was comparing 4.1 list
    to 3.6 pinout.

Posting Permissions

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