移植库文件报错
pdl0x0lbq opened this issue · 2 comments
linking...
.\Objects\proj.axf: Error: L6218E: Undefined symbol Adafruit_MS_PWMServoDriver::setPWMFreq(float) (referred from qgpmaker_motorshield.o).
.\Objects\proj.axf: Error: L6218E: Undefined symbol Adafruit_MS_PWMServoDriver::begin() (referred from qgpmaker_motorshield.o).
.\Objects\proj.axf: Error: L6218E: Undefined symbol Adafruit_MS_PWMServoDriver::setPWM(unsigned char, unsigned short, unsigned short) (referred from qgpmaker_motorshield.o).
.\Objects\proj.axf: Error: L6218E: Undefined symbol Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char) (referred from qgpmaker_motorshield.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 4 error messages.
需要移植: https://github.com/adafruit/Adafruit_BusIO https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library
记得
.cpp
文件也要拉进去编译。
谢谢