i2c energy micro EFM32

OP #2603540
Lesenswert?

hello.

I have wrote the functions to read and write to a register on i2c using 
the energy micro EFM32G840 controller. I have a sensor I want to read (a 
magnetometer).

I only read FF values from all the values. Why do you think that?

I think it is related to the function -read and write register - that i 
wrote.

I have added a txt with the code I have wrote.

Any sugestions?

Thank you very much.
Angehängte Dateien:

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren