After a fast code reading, two things slow you I2C writing...
DEFINE I2C_SLOW 1
and
PAUSE 50 after I2CWRITE
If your EEPROM support high speed, remove I2C_SLOW define and decrease PAUSE 50 to 10 or 15... should work faster now
After a fast code reading, two things slow you I2C writing...
DEFINE I2C_SLOW 1
and
PAUSE 50 after I2CWRITE
If your EEPROM support high speed, remove I2C_SLOW define and decrease PAUSE 50 to 10 or 15... should work faster now
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks