在ubuntu 中调试 gdbtest.c # include # include int main ( int argc, char *argv[]) { unsigned int times = 0 ; while ( 1 ) { printf ( "runing times:%drn" , times); times++; sleep ( 1 ); }} 编译命令...
i2cset:向i2c设备某个寄存器写入值 Usage: i2cset [-f] [-y] [-m MASK] [-r] [-a] I2CBUS CHIP-ADDRESS DATA -ADDRESS [ VALUE ] ... [MODE] I2CBUS is an integer or an I2C bus name ADDRESS is an in...
i2cdetect:用于扫描i2c 总线上的设备 Usage: i2cdetect [ - y] [ - a] [ - q | - r] I2CBUS [ FIRST LAST ] i2cdetect - F I2CBUS i2cdetect - l I2CBUS is an integer or an I2C bus name If provided, ...