Go to the source code of this file.
|
uint8_t | TCMDEXEC_scan_i2c_bus_verbose (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Scans the I2C bus for devices. Prints out a grid of all devices, with addresses for those found.
|
|
uint8_t | TCMDEXEC_scan_i2c_bus (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Scans the I2C bus for devices. Prints out the addresses of devices found.
|
|
◆ TCMDEXEC_scan_i2c_bus()
uint8_t TCMDEXEC_scan_i2c_bus |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
Scans the I2C bus for devices. Prints out the addresses of devices found.
- Parameters
-
args_str |
- Arg 0: I2C bus to scan (1-4)
|
- Returns
- 0 if successful, 1 if error.
◆ TCMDEXEC_scan_i2c_bus_verbose()
uint8_t TCMDEXEC_scan_i2c_bus_verbose |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
Scans the I2C bus for devices. Prints out a grid of all devices, with addresses for those found.
- Parameters
-
args_str |
- Arg 0: I2C bus to scan (1-4)
|
- Returns
- 0 if successful, 1 if error.