Detect a HMC5883 magnetometer by reading the id registers for NUCLEO-L432KC

Committer:
skyscraper
Date:
Thu Aug 30 13:36:05 2018 +0000
Revision:
0:10e9548cdb3d
initial commit: read the 3 config bytes on a HMC5883 mag. Tested and working, though automatic drag and drop upload fails fro some reason

Who changed what in which revision?

UserRevisionLine numberNew contents of line
skyscraper 0:10e9548cdb3d 1 https://github.com/armmbed/mbed-os/#0fdfcf7350896a9c0b57c4a18237677abfe25f1a