Closed MangaValk closed 4 years ago
I was searching through the Teensy source code myself to possibly write a fix for everyone. I found out that the digitalPinHasPWM for the teensy 3.6 board isn't correct compared to the documentation. https://github.com/PaulStoffregen/cores/blob/fc79132670ac83ce7cae8e2bac64be109fbfe35e/teensy3/pins_arduino.h#L179
Many thanks! Can't try it now since I'm away from home. Love your teensy 3.6 board!
Verified this is working. Closing this old issue.
Description
Describe your problem. On the teensy 3.6 pin 16 and 17 will not attach, digitalPinHasPWM returns false. According to the manual pin 16 and 17 should work.
Steps To Reproduce Problem
Please give detailed instructions needed for anyone to attempt to reproduce the problem. Attach a servo to pin 16 or 17 and print the result of attach.
Hardware & Software
Board Teensy 3.6 Shields / modules used none Arduino IDE version 1.8.9 Teensyduino version (if using Teensy) Version info & package name (from Tools > Boards > Board Manager) Operating system & version Any other software or hardware?
Arduino Sketch
Errors or Incorrect Output
If you see any errors or incorrect output, please show it here. Please use copy & paste to give an exact copy of the message. Details matter, so please show (not merely describe) the actual message or error exactly as it appears.