Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RigacciOrg/py-qmc5883l
/ functions
Functions
18 in github.com/RigacciOrg/py-qmc5883l
⨍
Functions
18
◇
Types & classes
1
↓ 8 callers
Method
_write_byte
(self, registry, value)
py_qmc5883l/__init__.py:112
↓ 7 callers
Method
_read_word_2c
Calculate the 2's complement of a two bytes value.
py_qmc5883l/__init__.py:126
↓ 2 callers
Method
_read_byte
(self, registry)
py_qmc5883l/__init__.py:116
↓ 2 callers
Method
get_data
Read data from magnetic and temperature data registers.
py_qmc5883l/__init__.py:134
↓ 2 callers
Method
get_magnet_raw
Get the 3 axis values from magnetic sensor.
py_qmc5883l/__init__.py:165
↓ 1 callers
Method
_read_word
Read a two bytes value stored as LSB and MSB.
py_qmc5883l/__init__.py:119
↓ 1 callers
Method
get_magnet
Return the horizontal magnetic sensor vector with (x, y) calibration applied.
py_qmc5883l/__init__.py:170
↓ 1 callers
Method
mode_continuous
Set the device in continuous read mode.
py_qmc5883l/__init__.py:98
↓ 1 callers
Method
mode_standby
Set the device in standby mode.
py_qmc5883l/__init__.py:105
Method
__del__
Once finished using the sensor, switch to standby mode.
py_qmc5883l/__init__.py:94
Method
__init__
(self, i2c_bus=DFLT_BUS, address=DFLT_ADDRESS, output_data_
py_qmc5883l/__init__.py:71
Method
get_bearing
Horizontal bearing, adjusted by calibration and declination.
py_qmc5883l/__init__.py:192
Method
get_bearing_raw
Horizontal bearing (in degrees) from magnetic value X and Y.
py_qmc5883l/__init__.py:181
Method
get_calibration
Return the current set value of the calibration matrix.
py_qmc5883l/__init__.py:239
Method
get_declination
Return the current set value of magnetic declination.
py_qmc5883l/__init__.py:224
Method
get_temp
Raw (uncalibrated) data from temperature sensor.
py_qmc5883l/__init__.py:208
Method
set_calibration
Set the 3x3 matrix for horizontal (x, y) magnetic vector calibration.
py_qmc5883l/__init__.py:228
Method
set_declination
Set the magnetic declination, in degrees.
py_qmc5883l/__init__.py:213