Have had great success with a few variations of the serial and I2C adapters working with the DUE. Would love to have the I2C adapter working with a Teensy 3.1. I am curious as to the direction to make this happen.
I have fiddled around but still manage to get the following compiler errors:
In file included from rpm_led_i2c.ino:10:0:
C:\Users\Timothy P\Documents\Arduino\libraries\OBD/OBD.h:198:27: error: two or more data types in declaration of 'parameter'
C:\Users\Timothy P\Documents\Arduino\libraries\OBD/OBD.h:198:31: error: expected ')' before ',' token
C:\Users\Timothy P\Documents\Arduino\libraries\OBD/OBD.h:198:33: error: variable or field 'byte' declared void
C:\Users\Timothy P\Documents\Arduino\libraries\OBD/OBD.h:198:33: error: expected ';' at end of member declaration
C:\Users\Timothy P\Documents\Arduino\libraries\OBD/OBD.h:198:38: error: 'h' does not name a type
Thoughts would be greatly appreciated.
I2C adapter and Teensy 3.1 support
Re: I2C adapter and Teensy 3.1 support
Add this line before inclusion of OBD.h
Code: Select all
#include <stdint.h>
-
- Posts: 2
- Joined: Tue Sep 16, 2014 11:30 am
Re: I2C adapter and Teensy 3.1 support
Understood. Placed #include <stdint.h> before OBD.h. The complier gave the same errors. Is there something else I could be missing?