Problem with PCA9685 and C++


I have a problem with PCA9685 and C++. When i’m using the example “”, the led RGB changes. But with the “LED.CPP”, the led don’t change. It’s the same for the program “PWM.CPP”

I’m using Navio+ with a raspberry Pi 2.I had update the last version of Examples and drivers.


Do you run it with root privileges? Otherwise, these examples won’t work because they need to access GPIO header to enable PCA9685.