mirror of
https://github.com/brendanhaines/RasPi.git
synced 2024-11-09 16:44:40 -07:00
fixes typo. ('o' changed to '0')
This commit is contained in:
parent
93e4d90269
commit
0e1122367c
|
@ -23,7 +23,7 @@ PCA9685::PCA9685( int devAddr )
|
||||||
}
|
}
|
||||||
|
|
||||||
setAllPwm( 0, 0 );
|
setAllPwm( 0, 0 );
|
||||||
std::cout << "all pwm set to o" << std::endl;
|
std::cout << "all pwm set to 0" << std::endl;
|
||||||
|
|
||||||
wiringPiI2CWriteReg8( i2cFileHandle, PCA9685_MODE2, PCA9685_OUTDRV );
|
wiringPiI2CWriteReg8( i2cFileHandle, PCA9685_MODE2, PCA9685_OUTDRV );
|
||||||
wiringPiI2CWriteReg8( i2cFileHandle, PCA9685_MODE1, PCA9685_ALLCALL );
|
wiringPiI2CWriteReg8( i2cFileHandle, PCA9685_MODE1, PCA9685_ALLCALL );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user