SHTC3 or aht10 +bmp280 #78
jokokiswan
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
i tried walk arround with luat i2c, always receiving -1 data :), does it not right procedure? |
Beta Was this translation helpful? Give feedback.
0 replies
-
可以用 逻辑分析仪 或者 示波器 检查一下有没有实际的波形、实际的波形是否符合预期
…---Original---
From: ***@***.***>
Date: Thu, Dec 29, 2022 09:25 AM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: Re: [openLuat/LuatOS] SHTC3 or aht10 +bmp280 (Discussion #78)
i2c_speed = i2c.SLOW i2c.setup(i2cid, i2c_speed) i2c.writeReg(0, 0x70, 0xE0, string.char(0x35, 0x17, 0x5C, 0x24)) sys.wait(200) local data = i2c.readReg(0, 0x70, 0xE1, 6) sys.wait(100) i2c.writeReg(0, 0x70, 0Xb0, 0X98)
i tried walk arround with luat i2c, always receiving -1 data :), does it not right procedure?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know luat support reading sht30 sensor, it got built in 0x44 addr on sht30 reading (shtc 0x70), does in near future it got shtc3 or aht10 + bmp?. thank you.
Beta Was this translation helpful? Give feedback.
All reactions