Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IO_PCA9685.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static const float FREQUENCY_OSCILLATOR=25000000.0; /** Accurate enough for our
static const uint32_t MAX_I2C_SPEED = 1000000L; // PCA9685 rated up to 1MHz I2C clock speed

// Predeclare helper function
static void writeRegister(byte address, byte reg, byte value);
static void writeRegister(I2CAddress address, byte reg, byte value);

// Create device driver instance.
void PCA9685::create(VPIN firstVpin, int nPins, I2CAddress i2cAddress, uint16_t frequency) {
Expand Down Expand Up @@ -267,7 +267,7 @@ void PCA9685::_display() {
}

// Internal helper function for this device
static void writeRegister(byte address, byte reg, byte value) {
static void writeRegister(I2CAddress address, byte reg, byte value) {
I2CManager.write(address, 2, reg, value);
}

Expand Down