Skip to content

Conversation

@yanzixiang
Copy link
Contributor

@yanzixiang yanzixiang commented Jan 30, 2019

#2

mcp.setBus(Wire);
or 
mcp.setBus(Wire1);

@blemasle
Copy link
Owner

I've made bus an optionnal parameter in the constructor. There's no need for it to be mutable after the instance creation. Let me know if this works for you :)

@yanzixiang
Copy link
Contributor Author

YES, it works.

@blemasle blemasle changed the title add setBus and getBus Add support for other Wire buses Feb 1, 2019
@blemasle blemasle merged commit ebde707 into blemasle:master Feb 1, 2019
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.

2 participants