Be sure to check out the different ways to communicate with Pixy.
Looking at the back of Pixy, the pins of the I/O port are in the following order, with pin 1 in the top left:
1 2 3 4 5 6 7 8 9 10
Be sure to check out the different ways to power Pixy.