Why 2 addresses are shown in the driver of pca9685 in the I2C scanner?
Serial monitor output:
i2c device found at address 0x40!
i2c device found at address 0x70!
Why does this type of output occur? All I see online is this output (i2c device found at address 0x40!).
I also can't turn on my servo motors with the pca9685 driver and don't know what the problem is.
Here is the code:
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
Adafruit_PWMServoDriver srituhobby = Adafruit_PWMServoDriver();
#define servoMIN 150
#define servoMAX 600
void setup() {
Serial.begin(9600);
srituhobby.begin();
srituhobby.setPWMFreq(60);
}
void loop() {
for(int servo=0; servo<4; servo++)
{
srituhobby.setPWM(servo, 0, servoMIN);
Serial.println(servo);
delay(300);
}
for(int servo=3; servo>=0; servo--)
{
srituhobby.setPWM(servo, 0, servoMAX);
Serial.println(servo);
delay(300);
}
}