Skip to content

I2C - add functionality to change i2c clock speed #170

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

Closed
wants to merge 1 commit into from

Conversation

bigdinotech
Copy link
Contributor

-adds functionality to change clock speed
-clock speed is set/changed when Wire.begin() is called
-default is standard mode
-call Wire.begin(I2C_SPEED_SLOW) for standard speed (100k)
-call Wire.begin(I2C_SPEED_FAST) for full speed (400k)

-adds functionality to change clock speed
-clock speed is set/changed when Wire.begin() is called
-default is standard mode
-call Wire.begin(I2C_SPEED_SLOW) for standard speed (100k)
-call Wire.begin(I2C_SPEED_FAST) for full speed (400k)
@bigdinotech
Copy link
Contributor Author

@SidLeung @kmsywula ready for code review

@bigdinotech
Copy link
Contributor Author

bigdinotech commented Apr 20, 2016

linked to #166


class TwoWire : public Stream {
public:
TwoWire(void);
void begin();
void begin(int);
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation mismatch- perhaps 4 spaces were used instead of a tab?

@eriknyquist
Copy link
Contributor

@bigdinotech is this blocked by #166?

@bigdinotech
Copy link
Contributor Author

@eriknyquist yes. And there is a couple more fixes that will be on top of this

@bigdinotech
Copy link
Contributor Author

This can be closed.
I created a new PR #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants