Page 1 of 1

using lib_i2c

Posted: Fri Dec 14, 2018 4:27 pm
by jsaksris
I'm struggling to link the the multichannel audio reference project with the i2c library
following the http://www.xcore.com/viewtopic.php?f=8& ... 220#p28220
But there are bugs in lib_i2c

The idea is to check for overflow and turn on the LED.

Re: using lib_i2c

Posted: Wed Dec 26, 2018 2:33 pm
by Yanava
There are some global free statements, like the timerafter to set time, I'm not sure you can do that outside a function.

I've just recently done the porting of lib_i2c to my project and usually you don't pass the port around, but rather the interface instance. Can you provide a bit more detail on what you're trying to achieve? I'm not super experienced, but maybe I could help.

Regards.