Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 13th November 2003, 01:13 PM   (permalink)
Default PIC BASIC PRO COMPILER HELP!

Hello ,

http://www.melabs.com/resources/samples/pbp/i2c.bas , If we use a I2CREAD or I2CWRITE

for some external eeprom the Write address and the Read Address is the same all the time . Whereas if we take for example 24C08A and wire it as follows 1,0,1,0,A2,A1,A0,R/W. where A2= 0 ,A1=0 ,A0=1 . Then we get read and write address as follows

Write @ A2 .

Read @ A3 .

In this case do we require I2CWRITE DPIN,CPIN,$A2,B0,[B0] for writing to EEPROM and

I2CREAD DPIN,CPIN,$A3,B0,[B1,B2] for writing to EEPROM .

Need help urgent !

Thanks
Surge
Surge is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:56 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker