Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] 18f452 with 24c64a eeprom

Status
Not open for further replies.

buddhikaneel

Member level 1
Joined
Jul 27, 2011
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,542
Hi...
I read the MikrocPro I2c library. In hear used RC4 for SDA and RC3 to SCL. In source code not mentioned about which pin is configured for this..

If i want to use RB0 for SDA and RB1 for SCL how can i do it. Because of I want to Connect 24c64A with 18f452. Please give me advice..

Thanks
 

Hi buddhikaneel,

The pins you have mentioned on the PIC (RC3 and RC4) are implementing the MSSP within the PIC. What you will need to do is implement the Software I2C Library in MikrocPro and change the pin definitions to the pins that you are wanting to use RB0 and RB1.

Cheers

Stolzie
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top