Skip to content

How to use i2cdev with third party libs? #367

Answered by UncleRus
dizcza asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!
You don't need to call internal macros. Just use common interface of i2cdev, i2c_dev_read...() and i2c_dev_write...() functions.
The nopnop's driver is not the best choice for porting to i2cdev: it has too many low-level i2c calls. You can port other driver, such as suggested in #74 or use an already ported driver: https://github.com/UncleRus/esp-idf-lib/tree/ssd1306/components/ssd1306

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@riwalker
Comment options

Answer selected by dizcza
Comment options

You must be logged in to vote
1 reply
@UncleRus
Comment options

Comment options

You must be logged in to vote
3 replies
@UncleRus
Comment options

@dizcza
Comment options

@UncleRus
Comment options

Comment options

You must be logged in to vote
1 reply
@dizcza
Comment options

Comment options

You must be logged in to vote
2 replies
@riwalker
Comment options

@Ketaries
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants