As we all know, pixy camcmu5 comes with the spi pin connector which makes wiring very easy. Unfortunately, the spi pin used by pixy is 13,12,11,10,9. I used pin 13 for an led and pin 10,11 for servo motors. When i upload the sketch, the led on pin 13 isn’t at full brightness and the servo isn’t doing what i program it to do. Please help me asap.
Hello,
The pin numbers you are describing, I assume are on some kind of Arduino (which Arduino?) You also refer to a sketch. Bear in mind that even though you may be knee-deep into your problem or project, we have no details, so providing these is helpful.
Edward
Hi, the arduino used is arduino UNO. And here is my sketch. Sorry for providing too little detail previously. Pin 3,5,6,9 is for the dc motor while 10, 11 is the servo motors.
Hello,
Pixy’s default communication mode with Arduino (SPI) needs the SCK, MOSI, and MISO signals (pins 11, 12, 13 on the Uno). Can you use different pins for your LED and servo?
!http://icircuit.net/wp-content/uploads/2014/09/Arduino-uno.png!
Edward