Arduino Toolkit - @arduino/getI2CTerminals
- :
pinlist =
getI2CTerminals(ar)
- :
pinlist =
getI2CTerminals(ar, bus)
Get a cell list of pin Ids available are used for I2C mode.
Inputs
ar - the arduino object.
bus - optional bus number 0 or 1 for boards that support more than 1 bus.
Outputs
pinlist - cell list of pin numbers available for I2C use.
See also: arduino.