Example Sketch not working with adafruit 32u4 & pwm servo featherwing stacked

Hello guys I need a little help.

#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>

Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();

void setup() {
  Serial.println("GPIO test!");

  //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!

void loop() {
  // Drive each pin in a 'wave'
  for (uint8_t pin=0; pin<16; pin++) {
  // pwm.setPWM(pin, 4096, 0);       // turns pin fully on
   Serial.println("Does it work?");
  // pwm.setPWM(pin, 0, 4096);       // turns pin fully off

If I run it like this, I get the outputs. But on uncommenting the 4 lines with pwm.blabla then I don’t get any outputs on the serial monitor. But If i remove the featherwing from the adafruit und run the code with the pwm-lines uncommented, then it works. Does anyone have an idea what the problem might be?

Has Adafruit said that the library will work with a 32u4?

If so it may be more productive to ask them.


Has Adafruit said that the library will work with a 32u4?

yes you can use this library with the 32u4. I thought I'll try here as well because i'm a little bit under time pressure :confused: