# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
# SPDX-License-Identifier: MIT

import time
import board
import busio
import adafruit_tlv493d

i2c = busio.I2C(board.SCL, board.SDA)
tlv = adafruit_tlv493d.TLV493D(i2c)

while True:
    print("X: %s, Y: %s, Z: %s mT" % tlv.magnetic)
    time.sleep(1)

e6567533dac1da81296dba45b240edfa043cf09f
<mask token>

<mask token>
while True:
    print('X: %s, Y: %s, Z: %s mT' % tlv.magnetic)
    time.sleep(1)

<mask token>
i2c = busio.I2C(board.SCL, board.SDA)
tlv = adafruit_tlv493d.TLV493D(i2c)
while True:
    print('X: %s, Y: %s, Z: %s mT' % tlv.magnetic)
    time.sleep(1)

import time
import board
import busio
import adafruit_tlv493d
i2c = busio.I2C(board.SCL, board.SDA)
tlv = adafruit_tlv493d.TLV493D(i2c)
while True:
    print('X: %s, Y: %s, Z: %s mT' % tlv.magnetic)
    time.sleep(1)

# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
# SPDX-License-Identifier: MIT

import time
import board
import busio
import adafruit_tlv493d

i2c = busio.I2C(board.SCL, board.SDA)
tlv = adafruit_tlv493d.TLV493D(i2c)

while True:
    print("X: %s, Y: %s, Z: %s mT" % tlv.magnetic)
    time.sleep(1)
