<< return to Pixycam.com

Pixy on Microchip PIC16F1454

Hi guys!
First of all, sorry for my bad english. Have mercy.
Second, I’m trying to port Pixy on the microcontroller in object to write a code to move mouse using x and y coordinates of a detected block.
I saw the porting guide and I think to know how connect Pixy and my PIC (it has a Serial port to connect Pixy and a USB to connect it to my PC), but I need to obtain x and y coordinates.

Using an Arduino Leonardo it was easy. I used

pixy.blocks[i].x
pixy.blocks[i].y

But now, how I can have the same result?
I need some other libraries, isn’t it?

PICs of Microchip Family use the MPLAB Xpress IDE and C language (similar to Arduino), so I need to import these libraries there and write the code.

Can anyone help me, please?

Hello Elia,
We don’t have support libraries for PICs and MPLAB. But at least one other user has asked:

http://www.cmucam.org/boards/8/topics/4932

You may have to write your own porting code. Here is a useful guide:

http://cmucam.org/projects/cmucam5/wiki/Porting_Guide

Hope this helps!

Edward

thank you very much