Skip to content

Commit

Permalink
Serial.prints commented out in library
Browse files Browse the repository at this point in the history
Serial.prints commented out to compile for ATTINY85s
  • Loading branch information
andydoro committed Feb 29, 2016
1 parent 02094b2 commit 6821218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_PWMServoDriver.cpp 100644 → 100755
Expand Up @@ -50,11 +50,11 @@ void Adafruit_PWMServoDriver::setPWMFreq(float freq) {
prescaleval /= freq;
prescaleval -= 1;
if (ENABLE_DEBUG_OUTPUT) {
Serial.print("Estimated pre-scale: "); Serial.println(prescaleval);
//Serial.print("Estimated pre-scale: "); Serial.println(prescaleval);
}
uint8_t prescale = floor(prescaleval + 0.5);
if (ENABLE_DEBUG_OUTPUT) {
Serial.print("Final pre-scale: "); Serial.println(prescale);
//Serial.print("Final pre-scale: "); Serial.println(prescale);
}

uint8_t oldmode = read8(PCA9685_MODE1);
Expand Down

0 comments on commit 6821218

Please sign in to comment.