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

Move i2c.c and i2c.h to protocol lib #7

Open
araobp opened this issue Oct 8, 2017 · 0 comments
Open

Move i2c.c and i2c.h to protocol lib #7

araobp opened this issue Oct 8, 2017 · 0 comments

Comments

@araobp
Copy link
Owner

araobp commented Oct 8, 2017

i2c.c (i2c1.c) is the heart of the plug&play protocol. Move it from the MCC-generated folder to the protocol lib.

Steps

  • Use MCC to generate code including MSSP(I2C).
  • Remove i2c.c and i2c.h from the folder.
  • Include "protocol.h" in "interrupt_manager.c".

This commit f754dd3 is the first try. It is working OK.

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

No branches or pull requests

1 participant