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 for Megatinycore #6

Open
stevecolt opened this issue Nov 29, 2021 · 2 comments
Open

Support for Megatinycore #6

stevecolt opened this issue Nov 29, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@stevecolt
Copy link

Hi, I'm using your code on a 328 with no problem, but would really like to port to an ATTINY1614 using
https://github.com/SpenceKonde/megaTinyCore
These chips are really good and work very well with the above.
Do you have any plans to support more chips, and what is the chance of the above being included?
Many thanks
Steve

@maxint-rd
Copy link
Owner

Hello @stevecolt, thank you for bringing this ATtiny to my attention. I'm not familiar with this chip yet and I don't have one in my collection, (nor any other new series ATtiny with the single pin UPDI),

As prompted by your issue, I did download its datasheet and had a quick look. From first sight, the features of this chip are quite interesting indeed. For providing fast PWM, It has quite a bunch of high resolution timer/counters with some interesting aspects that the older ATtiny's don't have. I still need to take a closer look at the documentation and at Spence Konde's undoubtedly excellent piece of work.

I usually get my chips via the slowboat from Ali, but only saw some offerings that are quite a bit beyond the price range of the older ATtinys. Is $50 for ten pcs the usual price for these MCU's? The prices that Spence Konde mentions on his page are quite a bit lower. Where did you order your chips?
As it stands now I won't be able to contribute a new version to support this chip on short notice, but I'm definitely interested to include support as soon as I can put my hands on one and set up a development environment.

In the meanwhile I was wondering whether you are a programmer yourself. The basic function of the library is to wrap setting some Timer registers to make the chip output a PWM signal on a specific pin. If you look at the source code of the library, you can see it's not very complicated and I have included quite a bit of comment attempting to explain what the code does. The Links in the readme point to material by people that explain the fundamentals much better than I can...

@stevecolt
Copy link
Author

stevecolt commented Nov 29, 2021 via email

@maxint-rd maxint-rd self-assigned this Dec 6, 2021
@maxint-rd maxint-rd added the enhancement New feature or request label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants