This commit is contained in:
shrkey
2016-10-09 20:08:00 +01:00
parent 14a3ec5e91
commit cf7250daec
2 changed files with 2 additions and 2 deletions

View File

@@ -50,5 +50,5 @@ void DW640::initialize() {
* @return True if connection is valid, false otherwise * @return True if connection is valid, false otherwise
*/ */
bool DW640::testConnection() { bool DW640::testConnection() {
return this->pwm->testConnection(); return this->pwm.testConnection();
} }

View File

@@ -100,7 +100,7 @@ class DW640 {
uint8_t devAddr; uint8_t devAddr;
float frequency; float frequency;
uint8_t mode; uint8_t mode;
PCA9685 pwm; PCA9685* pwm;
}; };
#endif // DW640_H #endif // DW640_H