Skip to content

I2C implementation#1

Open
Ismael034 wants to merge 5 commits intogfoot:mainfrom
Ismael034:main
Open

I2C implementation#1
Ismael034 wants to merge 5 commits intogfoot:mainfrom
Ismael034:main

Conversation

@Ismael034
Copy link
Copy Markdown

Hi,

I have added support for I2C EEPROMS. For this, I have created a separate C file with read and write functions. Because I2C supports 3.3V to read and write, I have also added read functions so It could be possible to read an EEPROM with some changes in xmodem. I had to make some big changes in the code to make everything work propertly. I have also changed the way the pico reads USB input as for me, with the function getChar(), the pico frozes. I also nedded to add some new parameters to the config file to differenciate I2C EEPROMS to the other ones. For now, I have only added the AT24C04 as It's the only model I have. For all testing I have used a Minipro and a logic analyzer so I am prety sure it works as expected.

For the future, I might try to implement the read functionality. If you have any questions or commets please, let me know.

Thanks!

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.

1 participant