Asset Tracker v2, using I2C instead of LEDs with UI module

I have read some of the Asset Tracker documentation and noticed there is a nice implementation for operating LEDs in the UI module. This seems straightforward for GPIO control, but what about using an I2C device instead? We have our own LED driver that uses I2C and would like to use this instead of LEDs in GPIO pins. Is there a simple way to program this or would it be much more time-consuming?

Parents Reply
  • I am still lost on this. I was looking into other ways to do this and read about the Application Event Manager. To rephrase my problem, my goal is to perform an action on an I2C device depending on what the chip is doing within the Asset Tracker program. Would creating an event or module etc. that would execute this be a more 'correct' way?

Children
Related