<< return to Pixycam.com

Getting this error "no match for 'operator-' (operand types are 'Pixy2 {aka TPixy2<Link2SPI>}' and 'Pixy2 {aka TPixy2<Link2SPI>}')"

Hello,

I am making a pick and place robot, and I found an example code from youtube, the code uses the Pixy 1 camera, I have the Pixy2 camera. Now I’ve been replacing the parts of the code with the pixy2 parameter/libraries, but I cant really get past this error

no match for ‘operator-’ (operand types are ‘Pixy2 {aka TPixy2}’ and ‘Pixy2 {aka TPixy2}’)

Please Help.

Thank you

Hi, please post your code so we can help.

Thanks,
Jesse