Kmeter ISO Unit
Supported Products:
Micropython Example:
import os, sys, io
import M5
from M5 import *
from hardware import *
from unit import KMeterISOUnit
import time
M5.begin()
i2c0 = I2C(0, scl=Pin(1), sda=Pin(2), freq=100000)
kmeter_iso_0 = KMeterISOUnit(i2c0, 0x66)
while True:
if kmeter_iso_0.is_ready():
print(kmeter_iso_0.get_thermocouple_temperature(0))
print(kmeter_iso_0.get_internal_temperature(0))
time.sleep_ms(250)
UIFLOW2 Example:
class KMeterISOUnit
Constructors
Import with from unit import KMeterISOUnit.
Methods
- KMeterISOUnit.get_thermocouple_temperature(scale=0) float
Get the temperature of the thermocouple in the KmeterISO Unit. Returns a float value.
scaleaccepts values ofKMeterISOUnit.CELSIUSorKMeterISOUnit.FAHRENHEIT.UIFLOW2:

- KMeterISOUnit.get_internal_temperature(scale=0) float
Get the internal temperature of the KmeterISO Unit. Returns a float value.
scaleaccepts values ofKMeterISOUnit.CELSIUSorKMeterISOUnit.FAHRENHEIT.UIFLOW2:

- KMeterISOUnit.get_thermocouple_temperature_string(scale=0) str
Get the temperature of the thermocouple in the KmeterISO Unit as a string with a sign.
scaleaccepts values ofKMeterISOUnit.CELSIUSorKMeterISOUnit.FAHRENHEIT.UIFLOW2:

- KMeterISOUnit.get_internal_temperature_string(scale=0) str
Get the internal temperature of the KmeterISO Unit as a string with a sign.
scaleaccepts values ofKMeterISOUnit.CELSIUSorKMeterISOUnit.FAHRENHEIT.UIFLOW2:






