EDIT: I finally found Melanie's thread:
http://www.picbasic.co.uk/forum/showthread.php?t=587
Use variables instead of constants.
Typical start-up time is 50 ms by the way.
(sample code from PBP v2.60 manual, bottom p.96)
Referring to datasheet from here:
http://tinyurl.com/7d8jwk9
PBP manual says 4K7 pull-up resistors on both I2C lines. The datasheet says 2K2 pull-up resistors.
PBP supports 100kHz I2C devices up to 8MHz. You need DEFINE I2C_SLOW 1 to run above that.
Robert
Bookmarks