Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C implementation #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

I2C implementation #1

wants to merge 5 commits into from

Conversation

Ismael034
Copy link

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