Skip to content

Read two registers#57

Open
htsmith11 wants to merge 2 commits intomelexis:masterfrom
htsmith11:read_two_registers
Open

Read two registers#57
htsmith11 wants to merge 2 commits intomelexis:masterfrom
htsmith11:read_two_registers

Conversation

@htsmith11
Copy link

@htsmith11 htsmith11 commented Jan 28, 2025

added support to have a 2 register I2C read

- Reading 2x registers in one I2C read will improve speed
- Reads 2x registers in one I2C transaction
@Letme
Copy link
Member

Letme commented Jan 28, 2025

Nice that you combined 2 reads into one, but we already had a problem with endianness of 16 bit read because of different CPU architectures, and this now just adds to the confusion for some users. We gain some time with i2c read, but was there any problem with speed of read even at fastest 0.5s readout time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants