We dive back into the world of Pic 24 micro controllers by using an external EEPROM that uses I2C to communicate.We go through the datasheets, then start coding and even look at an oscilloscope to see what is happening every step of the way.
NOTE!!!!!!!!!!!!!!!!!!!!!!!
There are two small errors in the code I failed to notice while recording this video:
1) You need to wait for I2C1CONbits.PEN to finish before waiting for the EEPROM to write
2) You need to wait for I2C1CONbits.SEN in the wait4EEPROM function
Thanks for watching!
Your support helps me make new content!
If you'd like to become a Patron: / glecakes
Website: http://www.georgelecakes.com
Twitter: / glecakes
Facebook: / george.lecakes