I2C slave

Questions on control of serial busses
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

I2C slave

Post by YahooArchive »

Hi,
I can not find the answer to this question:
armmite pro with basic can be a i2c slave?

Regards



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: I2C slave

Post by YahooArchive »

> I can not find the answer to this question:
> armmite pro with basic can be a i2c slave?

The pins with i2c hardware support go to internal pins or solderable vias rather
than the 22 Arduino pins.

You can write directly to the hardware registers and setup the i2c slave mode,
but we do not have an example in the BASIClib.

An interrupt would be best to use, and the latest compiler supports that in
BASIC now.

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: I2C slave

Post by YahooArchive »

The newer boards bring the dedicated i2c pins out and are capable of slave and monitor mode

Post Reply