Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

I2C

Description

Changes the I2C slave address of the I2C I/O interface.

Parameters

Just a single decimal value between 1 and 127 (both numbers inclusively).

Return Value

ERR_OK (0) if input was valid.
ERR_ARGUMENT (4) if input was not in range

Example

I2C 119

This sets the module's I2C slave address to 119

Remarks

The default address (factory settings) of any new module is 73. This command has no meaning if the I2C I/O interface is not in use. This command does not affect the secondary I2C interface. The new address is active after next reboot.

 

 


 


I2C?

Description

Simply prints out the I2C settings. This is currently a single number (only the slave address).