-
-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Milestone
Description
D7 and D39 are the same PA21 port.
Why can i use PWM with 39 but not with 7?
https://github.com/arduino/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.cpp#L127
https://github.com/arduino/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.cpp#L188
I think it would be better to use this line for D7:
{ PORTA, 21, PIO_PWM_ALT, (PIN_ATTR_DIGITAL|PIN_ATTR_PWM), No_ADC_Channel, PWM0_CH7, TCC0_CH7, EXTERNAL_INT_5 }
Metadata
Metadata
Assignees
Labels
No labels