Hi,
I've downloaded and compiled the sources for the adapters. However, I cant quiet tell the difference within the source between the two versions. I'm quiet sure that my I2C dongle is version 1. My questions are:
What sort of config flags need to be declared to get the source code to work on the I2C adapter, as it was shipped. Currently, I can load the compiled code to the adapter, however, the adapter is not pushing anything through the I2C, as the external shield shows that no OBD data is detected.
Thank you.
Source code for I2C model?
Re: Source code for I2C model?
If you are using with Mega Logger sketch, there is model switch defined in the config.h.
If you are writing your own sketch, simply declare this:
to use the OBD-II adapter I2C version.
If you are writing your own sketch, simply declare this:
Code: Select all
COBDI2C obd;
to use the OBD-II adapter I2C version.