Integrate IIS2MDC to STM32F103c
Hi,
I am trying to read data from the IIS2MDC placed on a STEVAL-MKI185V1 on a STM32F103C board programmed via Arduino IDE.
I tried following the steps mentioned in the document in the link:
However when I read the WHOIAM register it gave a value of 0 instead of 0x40. Subsequently I am unable to read the magnetometer register values.
PFA the code that I am working on.
Any help for this is much appreciated.
Thank You
