I am using this example code PCA9685 in C and whenever I run the code I get this as my output:
PCA9685 servo example Connect a servo to any pin. It will rotate to random angles pwmWrite: You have not called one of the wiringPiSetup functions, so I'm aborting your program before it crashes anyway.
I ran the example code using:
and still no luck. Does anyone have an idea?