traxonja
Advanced Member level 4
i2c pic16f84
Hello,
does anybody have a nice (clean) routine for writing and reading-from an I2C memory device written for MPASM?
I will use PIC16F84A, and 24LC16 (2k) device so 1-byte address will be used, but 2-byte addresses are OK too.
I have this attached routine but it doesn't work , so if you have a nice tested one please post it here.
When I programm the device in PicBasic, it works, but with this routine in MPASM it doesn't work
All best,
Trax
Hello,
does anybody have a nice (clean) routine for writing and reading-from an I2C memory device written for MPASM?
I will use PIC16F84A, and 24LC16 (2k) device so 1-byte address will be used, but 2-byte addresses are OK too.
I have this attached routine but it doesn't work , so if you have a nice tested one please post it here.
When I programm the device in PicBasic, it works, but with this routine in MPASM it doesn't work
All best,
Trax