added initialise

This commit is contained in:
shrkey
2016-10-09 22:41:55 +01:00
parent 7cf6027b80
commit 166427041c

View File

@@ -44,6 +44,7 @@ DW640::DW640(uint8_t address) {
*/
bool DW640::initialize() {
this->pwm = new PCA9685( this->devAddr );
this->pwm->initialize();
if (!testConnection() ) {
printf("No 640 board found\n");
return 0;