Skip to content

Conversation

@quarcko
Copy link
Contributor

@quarcko quarcko commented Jan 7, 2022

For memory chips smaller than 16kbits you need to send only 1 packet (8bits) of adress via I2C.
This fix checkes for defined memory size and based on this either sends 16bit adress or 8bit address.

Tested on 2Kbits EEPROM: HT24LC02

For memory chips smaller than 16kbits you need to send only 1 packet (8bits) of adress via I2C.
This fix checkes for defined memory size and based on this either sends 16bit adress or 8bit address.
@nseidle
Copy link
Member

nseidle commented Jan 7, 2022

Nice fix. Nice first PR. Thanks for the contribution!

@nseidle nseidle merged commit 48f196f into sparkfun:master Jan 7, 2022
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