Skip to content

Conversation

MrNinso
Copy link
Contributor

@MrNinso MrNinso commented Apr 14, 2021

This is the initial pwm support for atmega1280

I need to test this code a little bit more on my arduino mega 1280 before became ready for review, but suggestions and fixes are welcome.

this code is theoretically working on atmega2560, but I don't have an arduino mega 2560, but if anyone can test this I will add it to this pull request.

this code is based in #1121

Add arduino mega 1280 PWM test
@MrNinso MrNinso marked this pull request as ready for review April 16, 2021 00:27
@MrNinso
Copy link
Contributor Author

MrNinso commented Apr 16, 2021

I tested all the 6 timers and everything is working properly and is ready to review

@MrNinso MrNinso changed the title [WIP] PWM Support for atmega1280 PWM Support for atmega1280 Apr 16, 2021
@deadprogram
Copy link
Member

I have a 2560 but did not have time to locate it to test with this PR.

Looks good, so now merging. Thanks @MrNinso for another great contribution.

@deadprogram deadprogram merged commit cb886a3 into tinygo-org:dev Apr 16, 2021
@MrNinso MrNinso deleted the atmega1280-pwm branch April 16, 2021 22:33
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

Successfully merging this pull request may close these issues.

2 participants