From 14a3ec5e917f59a9d52e02d5a4d62cbb39ff61a8 Mon Sep 17 00:00:00 2001 From: shrkey Date: Sun, 9 Oct 2016 20:03:57 +0100 Subject: [PATCH] test --- darkwater/DW640.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darkwater/DW640.cpp b/darkwater/DW640.cpp index b435b62..27a0716 100644 --- a/darkwater/DW640.cpp +++ b/darkwater/DW640.cpp @@ -43,7 +43,7 @@ DW640::DW640(uint8_t address) { * And finally the restart is performed to enable clocking. */ void DW640::initialize() { - PCA9685 this->pwm; + this->pwm = new PCA9685( this->devAddr ); } /** Verify the I2C connection.