Hello, I'm playing around with the Moto Mods developer resources and have gotten the 'blinky' examples working. Embedded development is a bit new to me, so this has been a lot to learn at once! My apologies in advance if this question is inappropriate for here.
I want to extend the "Blinky" example so that the toggle switch in the Android app causes a simple change in an i2c IC that I'm adding to the perfboard. Do I need to create an entire "device driver" for my IC (the TI DRV2667)? (If so, can anyone point me to a guide through that process?) Or can I just extend "stm32_modsraw_blinky.c" to use the i2c methods at "<nuttx/i2c.h>" like other examples do?
...as you might have gathered, I'm coming from the world of Arduino, so both embedded linux and the particular microcontroller here are both new to me. I am a determined learner, though, so any help or links would be much appreciated!
AKA