Page 1 of 1

I2C slave

Posted: Wed Jan 30, 2013 6:29 am
by YahooArchive
Hi,
I can not find the answer to this question:
armmite pro with basic can be a i2c slave?

Regards

Re: I2C slave

Posted: Wed Jan 30, 2013 6:29 am
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.

Re: I2C slave

Posted: Wed Jan 30, 2013 6:31 am
by YahooArchive
The newer boards bring the dedicated i2c pins out and are capable of slave and monitor mode