I2C slave

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
luibra63
Posts: 36
Joined: Mon Aug 29, 2016 3:21 pm
Has thanked: 3 times
Been thanked: 6 times
Contact:

I2C slave

Post 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

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: I2C slave

Post by LeighM »

Hi,
Attached is an I2C Slave example.
Hope it helps.
Attachments
Uno slave.fcfx
(6.21 KiB) Downloaded 263 times

luibra63
Posts: 36
Joined: Mon Aug 29, 2016 3:21 pm
Has thanked: 3 times
Been thanked: 6 times
Contact:

Re: I2C slave

Post 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

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: I2C slave

Post 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.

Post Reply