Skip to content

Conversation

@mgrosvenor
Copy link

No description provided.

@mgrosvenor
Copy link
Author

Code liberally borrowed from https://github.com/SpenceKonde/OneWire/blob/master/util/OneWire_direct_gpio.h

With thanks to @SpenceKonde

@mgrosvenor mgrosvenor changed the title Add support for modern AVRs like Attiny 0.1,2 series Add support for modern AVRs like Attiny 0,1,2 series Aug 5, 2024
Copy link

@amarotica amarotica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orgua's commit is a great addition to the OneWireHub library. It seems to be working on an AVR16DD20 MCU which was not working before I utilized their update.

@Stopfbit
Copy link

Thank you for the changes. Tested on an ATTiny817, which has now been working without any problems for about 20 hours.

@mgrosvenor
Copy link
Author

I wrote this patch because I wanted to use an attiny1616 which seems to also be working. Any of the 0/1/2 series should also work.

@imdbere
Copy link

imdbere commented Feb 4, 2025

Thanks so much, can confirm that it works for the Attiny412 as well.
Hope this will get merged at some point, for everyone using PlatformIO, this is how you can use it in the meantime:

lib_deps = https://github.com/mgrosvenor/OneWireHub.git#modern_avrs

Copy link

@amarotica amarotica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes have been tested on AVR DD series MCUs and are fully functional. @orgua when you get a chance, please merge with the main branch so these updates are readily available to others.

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.

4 participants