Skip to content
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

Support PWM pins of ATtiny85 Timer1 #20

Open
jfpoilpret opened this issue Jan 27, 2018 · 4 comments
Open

Support PWM pins of ATtiny85 Timer1 #20

jfpoilpret opened this issue Jan 27, 2018 · 4 comments
Labels
enhancement target support Request to support a new MCU AVR target or improve support for an existing target

Comments

@jfpoilpret
Copy link
Owner

Currently, FastArduino ATtiny85 support enables only 2 PWM pins, both based on Timer0.

Event though currently FastArduino does not allow support for PWM pins linked to more than 1 timer, that still leaves room for pin PB4 (OC1B).

@jfpoilpret
Copy link
Owner Author

The reason why PB4 is not initially supported by FastArduino ATtiny85, is because in ATtiny85, Timer1 is very different to all other AVR timers, and support would have required FastArduino refactoring of "board traits" in addition to Timer implementation.

I'd rather implement this refactoring for a later FastArduino version.

@jfpoilpret jfpoilpret added this to the 2.0 milestone Jan 27, 2018
@jfpoilpret
Copy link
Owner Author

Resolving this issue would better be combined with #18

@jfpoilpret
Copy link
Owner Author

Note the following article may be useful for this issue: https://www.re-innovation.co.uk/docs/fast-pwm-on-attiny85/

@jfpoilpret jfpoilpret modified the milestones: 2.0, 1.3 Feb 22, 2018
@jfpoilpret jfpoilpret self-assigned this Jul 1, 2019
@jfpoilpret jfpoilpret removed this from the 1.3 milestone Aug 25, 2019
@jfpoilpret
Copy link
Owner Author

Remove this issue from milestone 1.3
To be rescheduled later.
This does not seem urgent (not so many projects use ATtinyX5 MCU).

@jfpoilpret jfpoilpret removed their assignment Sep 22, 2019
@jfpoilpret jfpoilpret added the target support Request to support a new MCU AVR target or improve support for an existing target label Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement target support Request to support a new MCU AVR target or improve support for an existing target
Projects
None yet
Development

No branches or pull requests

1 participant