using lib_i2c

If you have a simple question and just want an answer.
Post Reply
jsaksris
Member++
Posts: 29
Joined: Wed Jul 04, 2018 4:06 pm

using lib_i2c

Post 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.
Attachments
test.PNG
(192.76 KiB) Not downloaded yet
test.PNG
(192.76 KiB) Not downloaded yet


User avatar
Yanava
Member
Posts: 8
Joined: Mon Sep 10, 2018 4:23 pm

Post 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.
Post Reply