HCPCA9685 library

Please I got an Error Compiling. Is this possible to be solved into the code??

C:\Users\USER\Documents\Arduino\libraries\HCPCA9685\HCPCA9685.cpp: In member function 'void HCPCA9685::Init(boolean)':
C:\Users\USER\Documents\Arduino\libraries\HCPCA9685\HCPCA9685.cpp:45: error: 'Wire' was not declared in this scope

I was trying to burn this code:

/* Include the HCPCA9685 library */
#include "HCPCA9685.h"

/* I2C slave address for the device/module. For the HCMODU0097 the default I2C address
   is 0x40 */
#define  I2CAdd 0x40


/* Create an instance of the library */
HCPCA9685 HCPCA9685(I2CAdd);


void setup() 
{
  /* Initialise the library and set it to 'servo mode' */ 
  HCPCA9685.Init(SERVO_MODE);

  /* Wake the device up */
  HCPCA9685.Sleep(false);
}


void loop() 
{
  unsigned int Pos;

  /* Sweep the servo back and forth from its minimum to maximum position.
     If your servo is hitting its end stops then you  should adjust the 
     values so that the servo can sweep though its full range without hitting
     the end stops. You can adjust the min & max positions by altering 
     the trim values in the libraries HCPCA9685.h file*/
  for(Pos = 10; Pos < 450; Pos++)
  {
    /* This function sets the servos position. It takes two parameters, 
     * the first is the servo to control, and the second is the servo 
     * position. */
    HCPCA9685.Servo(0, Pos);
    delay(10);
  }
  
  for(Pos = 450; Pos >= 10; Pos--)
  {
    HCPCA9685.Servo(0, Pos);
    delay(10);
  }
}

I think that you need to #include the Wire library in your sketch.

Can anyone sent me the zip file of HCPCA9685 library

Email: proloyautocrat@gmail.com

proloy2020:
Can anyone sent me the zip file of HCPCA9685 library

try downloading and using this one:

hope that helps...