Skip to content

Implemented setClock for the Due as well #2157

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

Merged
merged 1 commit into from
Jul 5, 2014
Merged

Implemented setClock for the Due as well #2157

merged 1 commit into from
Jul 5, 2014

Conversation

Lauszus
Copy link
Contributor

@Lauszus Lauszus commented Jul 2, 2014

This allows users to change the I2C clock frequency

This is similar to my other pull request for AVR: #1912.

Note that this is NOT tested, as I do not have a Due to actually test it with.

This allows users to change the I2C clock frequency
@matthijskooijman
Copy link
Collaborator

Commit looks good to me (but I also don't have a Due, nor any real knowledge about the sam code).

@cmaglie cmaglie added this to the Release 1.5.8 milestone Jul 4, 2014
@cmaglie cmaglie merged commit 9d20959 into arduino:ide-1.5.x Jul 5, 2014
cmaglie added a commit that referenced this pull request Jul 5, 2014
@cmaglie
Copy link
Member

cmaglie commented Jul 5, 2014

It looks that with your implementation setClock(...) must be called before begin(), any subsequent call has no effect. I fixed this with an additional patch 75ec6a1

Thank you very much!

@cmaglie cmaglie modified the milestones: Release 1.5.7, Release 1.5.8 Jul 6, 2014
@Lauszus Lauszus deleted the setClock branch July 6, 2014 09:22
@Lauszus
Copy link
Contributor Author

Lauszus commented Jul 6, 2014

Yes you are correct. You are welcome ;)

ollie1400 pushed a commit to ollie1400/Arduino that referenced this pull request May 2, 2022
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.

3 participants