<< return to Pixycam.com

'Pixy2I2C {aka class TPixy2<Link2I2C>}' has no member named 'init'

Hi

I’m trying to communicate Pixy 2 with MSP 432 microcontrollor with Energia.

However while I run the example code ccc_i2c_uart, the following error occurs:

exit status 1
‘Pixy2I2C {aka class TPixy2}’ has no member named ‘init’

I’ve included Pixy2 library. I’m not sure why this happened…

Hello,
We don’t have native support for the MSP 432. Did you do a port for this platform?

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide

Edward

Hello. Thank you for replying.

I used I2C to connect pixy2 to MSP432.

It seems like MSP 432 cannot compile pixy2 library but seems okay to pixy original.

Is there anywhere I can still buy the original version (Pixy)?

Thank you very much.

Maggie

Hmm. That’s surprising. What is the error you get when you try to compile the Pixy2 code?

Edward

this is what I get.
I am thinking that it is because that MSP uses C but the library for pixy used C++…

Maggie.

Hello,
Pixy2I2C is a template instance of TPixy.h, which has an init member. (see code below)

Did it somehow get deleted when you ported it over?
How are you instantiating Pixy2I2C?