PCA9685
PCA9685 copied to clipboard
Multiple definitions error
Hey, I have some problems with compile this project. After command make I received this comment from console
gcc -o RunServoDemo obj/RunServoDemo.o obj/bcm283x_board_driver.o obj/sccb_bus.o obj/PCA9685_servo_driver.o -Wall -pthread -lm -g
/usr/bin/ld: obj/bcm283x_board_driver.o:/home/matti/PCA9685/src/bcm283x_board_driver.h:93: multiple definition of `gpio'; obj/RunServoDemo.o:/home/matti/PCA9685/src/bcm283x_board_driver.h:93: first defined here
I tried to find some information about it, but I didn't find helpful information.
Does it work with the makefile?