From 166427041cb9c0086d697b8ef5fc12ddf28f143e Mon Sep 17 00:00:00 2001 From: shrkey Date: Sun, 9 Oct 2016 22:41:55 +0100 Subject: [PATCH] added initialise --- darkwater/DW640.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/darkwater/DW640.cpp b/darkwater/DW640.cpp index 00e9504..7d442d3 100644 --- a/darkwater/DW640.cpp +++ b/darkwater/DW640.cpp @@ -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;