<< return to Pixycam.com

can i use Pixy with arduino zero !


#1

Hello

can i use Pixy with arduino zero !
[[http://www.arduino.cc/en/Main/ArduinoBoardZero]]
The board is powered by Atmel’s SAMD21 MCU, which features a 32-bit ARM Cortex® M0+ core.

Best,


#2

Hello,
The Zero uses a processor from the same family as the Arduino Due, so I assume it will work. We haven’t tried, but it might require a small code tweak.

Edward


#3

I’m using an Adafruit Feather M0, which uses the same processor as the Zero (SAMD21). I get the following error:

    libraries/Pixy2/ZumoBuzzer.cpp:90:5: error: expected constructor, destructor, or type conversion before '(' token
    ISR (TIMER2_OVF_vect)

Any advice?


#4

The issue seems to be with the Zumo* files only. It compiles once you:

  1. In your OS X Finder, navigate to ~/Documents/Arduino/libraries/Pixy2

  2. Delete the following files:

  • ZumoBuzzer.cpp
  • ZumoBuzzer.h
  • ZumoMotors.cpp
  • ZumoMotors.h
  1. Restart the Arduino app

#5

Hello Mark,
Nice work! There are a couple Arduino platforms that stumble on the zumo files, but if you aren’t interested in using the Zumo platform, these files can be removed.

Thanks for sharing!

Edward