Page 1 of 1

I2C Macros 'available'

Posted: Fri Mar 23, 2007 10:43 am
by Mark
Hi,

After a few pointers from Steve I now have two tested and working macros for I2C communications with the microchip memory chips,
24LC04, 24LC08, 24LC16 connected to the SDA and SCL pins on Port C.

The macros are in the usual format, one is a write macro and takes an integer address and a byte to write, the other takes an integer address and a byte to recieve read data.

The macros are in a test program for running on the 488 development board with a 16F886 at 4 or 19MHz. The macros are intended to be exported for use in other programs and should run with other 16 series chips having an in-built Synchronous Serial Port (16F88X chips etc). The macros are no-frills to keep things simple.

If anyone wants a copy 'as is', for non-commercial use then e-mail me via the forum and I will send a copy by return.

Steve - I will e-mail you a copy, make what you will of it.

Mark

ps This post is not a MM initiative so please bear this in mind if you ask Steve or Ben questions.

Posted: Fri Mar 23, 2007 10:48 am
by Steve
Great work, Mark. Yes, I would be interested in seeing this.

Also, I have on my to-do list an I2C component. Would I be able to use your work as a starting point? Or is that too cheeky?

Posted: Fri Mar 23, 2007 11:17 am
by Mark
Steve,

Thanks for the compliment. By all means use the code, on the basis of the usual acknowledgements on any use (and see hint on the last line of my e-mail).

best regards,

Mark

Posted: Fri Mar 23, 2007 7:19 pm
by ALAN_26
HELLO MARK

I Would like very much to try the i2c macros if you can send me a copy

my email is:

alancilia@yahoo.com

Thanks in advance

Regards Alan cilia

copy of i2c macro

Posted: Sat Mar 24, 2007 8:25 am
by saschech@gmx.de
HELLO MARK

I Would like very much to try the i2c macros if you can send me a copy
I think if i change the adresse i can work also with pcf 8574p ?!

my email is:

saschech@gmx.de

Thanks in advance

Regards wolfgang


Hallo Mark

WΓΌrdest Du mir bitte auch eine Kopie zusenden?
Wenn ich die Adresse Tausche mΓΌsste ich doch auch mit einem
pcf 8574p arbeiten können ?! oder?

Ich arbeite zum englisch schreiben wenn ich etwas nicht weiß mit Babylon Übersetzungssoftware,geht ganz gut.

Mit besten Dank im voraus Wolfgang

Posted: Fri Apr 27, 2007 8:42 am
by ALAN_26
hello

Is the external EEprom component going to be included in the next update ?

And when we can expect the next update to be released ?

Posted: Fri Apr 27, 2007 9:42 am
by Steve
I was hoping to get the next update out by the end of this month, but a few other developments have taken priority. My new aiming point is the middle to end of May.

It will contain a component to drive the I2C bus as a master device, so you should be able to create your own code for the external EEPROM without too much difficulty.

Posted: Wed May 16, 2007 12:29 am
by jb
Hi Mark,

Please send i2c routines to: as3156037@sapo.pt

best regards for all

jb