Replies: 1 comment 2 replies
-
Please, find the example of an I2C wrapper in this file https://github.com/kurbatov/firmata4j/blob/master/src/main/java/org/firmata4j/ssd1306/SSD1306.java |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I successfully tested I2CExample.java!
Now I'm trying to receive data from an I2C device (SGP30 CO2 sensor)
I created a wrapper for my I2C device as suggested in readme.md
To receive data from an I2C device: device.ask() requires a listener receive the data.
I'm struggling to implement this listener,
Is there an example using
device.ask()
?Thanks
Beta Was this translation helpful? Give feedback.
All reactions