Skip to content

PWM on pin #13 fix #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ladyada opened this issue Jul 25, 2016 · 1 comment
Closed

PWM on pin #13 fix #155

ladyada opened this issue Jul 25, 2016 · 1 comment
Milestone

Comments

@ladyada
Copy link
Contributor

ladyada commented Jul 25, 2016

heya - it seems pin #13 pwm analogwrite() doesnt work? a change to the variant.cpp fixes:

  // 13 (LED)
  { PORTA, 17, PIO_PWM, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM|PIN_ATTR_TIMER), No_ADC_Channel, PWM2_CH1, TCC2_CH1, EXTERNAL_INT_1 }, // TCC2/WO[1]

(basically, tell it what channel to tweak) - all other PWMs are 👍

agdl added a commit to agdl/ArduinoCore-samd that referenced this issue Jul 25, 2016
@sandeepmistry
Copy link
Contributor

@ladyada thanks for letting us know!

Closed via #156.

@sandeepmistry sandeepmistry added this to the Release 1.6.7 milestone Aug 11, 2016
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this issue May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants