Skip to content

I2C support#55

Open
setnicka wants to merge 6 commits into
tino:masterfrom
setnicka:i2c
Open

I2C support#55
setnicka wants to merge 6 commits into
tino:masterfrom
setnicka:i2c

Conversation

@setnicka

Copy link
Copy Markdown

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

coveralls commented Jan 17, 2017

Copy link
Copy Markdown

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
Copy Markdown

Coverage Status

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

@coveralls

coveralls commented Jan 19, 2017

Copy link
Copy Markdown

Coverage Status

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

@guenhael

Copy link
Copy Markdown

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