Help needed with magnetometer coding.


i trying make sensor hmc5883l magnetometer detect change in magnetic field , send serial message when change. i'm trying go tracking first reading of sensor , compare recent reading.  problem can not figure out how save first variable compare new readings.  appreciated.

typically would, in setup(), call function reading , save reading in global variable.  give try , if can't work, post code.


Arduino Forum > Using Arduino > Programming Questions > Help needed with magnetometer coding.


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support