Datasheet

AT+HWI2CSCAN
Scans the I2C bus to try to detect any connected I2C devices, and returns the address of
devices that were found during the scan process.
Codebase Revision: 0.3.0
Parameters: None
Output: A comma-separated list of any I2C address that were found while scanning the valid
address range on the I2C bus, or nothing is no devices were found.
AT+HWVBAT
Returns the main power supply voltage level in millivolts
Codebase Revision: 0.3.0
Parameters: None
Output: The VBAT level in millivolts
# Configure pin 14 as an output
AT+HWGPIOMODE=14,0
OK
# Get the current mode for pin 14
AT+HWPGIOMODE=14
0
OK
# I2C scan with two devices detected
AT+HWI2CSCAN
0x23,0x35
OK
# I2C scan with no devices detected
AT+HWI2CSCAN
OK
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 129 of 238