Hello!
So I have been working on porting fabio varesano's "free-imu" arduino code over to teensy 3.0, and have realised that it's a real nightmare to switch from the old 16bit int to the new 32 bit ints when using the I2C "Wire" library. I am not looking forward to spending hours poring over old code looking for all of them and correctly replacing them. I'm asking if there is any way we can force the teensy 3.0 to "redefine" the default "int" as a 16 bit signed integer? Or must I typecast everything? I don't mind losing performance(if I do lose any).
Cheers!
jeremy
So I have been working on porting fabio varesano's "free-imu" arduino code over to teensy 3.0, and have realised that it's a real nightmare to switch from the old 16bit int to the new 32 bit ints when using the I2C "Wire" library. I am not looking forward to spending hours poring over old code looking for all of them and correctly replacing them. I'm asking if there is any way we can force the teensy 3.0 to "redefine" the default "int" as a 16 bit signed integer? Or must I typecast everything? I don't mind losing performance(if I do lose any).
Cheers!
jeremy