# Path: IoTPy/errors.py
# class IoTPy_ThingError(Exception):
#     pass


from time import sleep
from struct import unpack
from IoTPy.errors import IoTPy_ThingError



I2C_ADDR_AM2321 = 0x5c # 0xB8 >> 1
PARAM_AM2321_READ = b'\x03'
REG_AM2321_HUMIDITY_MSB = b'\x00'
REG_AM2321_HUMIDITY_LSB = b'\x01'

# Path: IoTPy/errors.py
# class IoTPy_ThingError(Exception):
#     pass


# Path: IoTPy/things/am2321.py
from time import sleep
from struct import unpack
from IoTPy.errors import IoTPy_ThingError




I2C_ADDR_AM2321 = 0x5c # 0xB8 >> 1
PARAM_AM2321_READ = b'\x03'
REG_AM2321_HUMIDITY_MSB = b'\x00'
REG_AM2321_HUMIDITY_LSB = b'\x01'

REG_AM2321_TEMPERATURE_MSB = b'\x02'