Bug fixes and support for powering down modules#1
Open
icaven wants to merge 21 commits intojscrane:masterfrom
Open
Bug fixes and support for powering down modules#1icaven wants to merge 21 commits intojscrane:masterfrom
icaven wants to merge 21 commits intojscrane:masterfrom
Conversation
Initially, all on-chip devices are powered off.
The timer must be awake before changes can be made to its registers.
Also, allow a millisecond divisor to be specified explicitly.
Owner
|
Thank you very much! Rather than a giant single merge, I will probably merge each commit individually, by hand. Cheers! |
jscrane
added a commit
that referenced
this pull request
Jan 24, 2017
jscrane
added a commit
that referenced
this pull request
Jan 24, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I fixed some bugs that I uncovered, added support for powering up and down modules by adding wake and sleep functions, added a SerialOutput class for attiny84, and added some configuration files used by PlatformIO. Added a divisor to the Timer class to allow smaller increments in time than 1 ms.
These changes were only made for the attiny84 and atmega328p devices, although similar changes are needed for the other devices.