Page 1 of 1

I2C slave

Posted: Mon Nov 07, 2016 12:46 am
by luibra63
Hi
I modify my old project for Crismtas. in this moment I use "arduino uno" card for master programmer realized with flowcode7 and it perfect work with 6 old slave cards realized with PIC 16F877 programmed in assemler.
for new slave card I use "arduino pro micro" but the module slave not work.
Is there a example for I2C slave module?
thanks

Re: I2C slave

Posted: Mon Nov 07, 2016 10:34 am
by LeighM
Hi,
Attached is an I2C Slave example.
Hope it helps.

Re: I2C slave

Posted: Tue Nov 08, 2016 11:10 am
by luibra63
thankyou LeighM, the error is my, I confused the address slave, now working.
When I must prefer I2C call of "Tools menu" from I2C slave of "Comms menu"?
thanks

Re: I2C slave

Posted: Tue Nov 08, 2016 11:42 am
by LeighM
Thanks for letting us know that it is now working.
The I2C component from the Tools menu gives lower level access to the peripheral device.
So gives you the level of control needed for your slave functionality.