/***************************************************  Arduino Uno, PCA9685, LEDs, Verdrahtungsmaterial und Steckboard LEDs an Pin 0 und 1 des PCA ansteuern ****************************************************/
#include <Wire.h>#include <Adafruit_PWMServoDriver.h>
// called this way, it uses the default address 0x40Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();
void setup() {  Serial.begin(115200);  Serial.println("GPIO Test an Pins 0 und 1 vom Board!");
  pwm.begin();  pwm.setPWMFreq(1000);  // Set to whatever you like, we don't use it in this demo!
  // if you want to really speed stuff up, you can go into 'fast 400khz I2C' mode  // some i2c devices dont like this so much so if you're sharing the bus, watch  // out for this!  Wire.setClock(400000);}uint16_t x = 0;uint16_t y = 0;void loop() {pwm.setPWM(0, x, 0);     //Von Hell nach Dunkel  Grüne LEDpwm.setPWM(1, 0, y);     // Von Dunkel nach Hell Rote LED
x+=2;y+=2;
if(x >=4093){  x=0;  y=0;  delay(3000);
}}