Hi I am new to this Forum so will say hello to all firstly. I have a question regarding the PBP commands I2CWRITE & I2CREAD and hope someone can shine some light on it. I am successfully writing and reading to/from a 24C01 EEprom, with a Pic 18F2620 chip and am using bits 3 and 4 of PORTA. My question is do the PBP commands used handle the setting up of PORTA, regarding them being digital and not analogue? Having used pics before I am aware of commands like ADCON1 = 7 and CMCON = 7. But have found they make no difference to the operation of the I2C commands. Do I presume right thinking PBP handles the setting of PORTA from analogue default to digital usage. I am asking this to be sure things are working correctly, as this is a security lock application.
Many thanks in anticipation of any replies
Bookmarks