Skip to content
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

I2C support #55

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

I2C support #55

wants to merge 6 commits into from

Conversation

setnicka
Copy link

Relies on #52

I2C support implemented using Firmata Sysexes.

* Enhanced autoconfig, which handles capabilities query with mixed modes
  (fixes issue tino#51)
* Pins can be both digital and analog pin (analog pins could be often
  used as digital pins)
* All pins are saved into global board.pins list, each pins exists in
  one instance and in board.digital/board.analog are references to the
  same objects
Supported operations:
* Send data to given slave (write)
* Send read request to given slave and register
* Receive I2C reply
* Start/stop continuous reading from given slave and register
@coveralls
Copy link

coveralls commented Jan 17, 2017

Coverage Status

Coverage decreased (-4.6%) to 68.716% when pulling 8de7777 on setnicka:i2c into 7a9ef22 on tino:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.6%) to 68.716% when pulling 8de7777 on setnicka:i2c into 7a9ef22 on tino:master.

@coveralls
Copy link

coveralls commented Jan 19, 2017

Coverage Status

Coverage decreased (-4.6%) to 68.716% when pulling 12b8813 on setnicka:i2c into 7a9ef22 on tino:master.

@guenhael
Copy link

I think there should be self.board.iterate() instead of pass at line 98 of i2c.py

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