'Pushbutton' does not name a type error


 I downloaded the Arduino Zumo's library from GitHub and tried to run the Pushbutton example. The Arduino IDE produces the "Pushbutton" does not name a type as error.  I am using the latest Arduino IDE verion 1.0.6 on Mac OS Yosemite.   Please let me know what I am missing. Thank you.

I think I found what I missed. The instruction indicates to move each library (Pushbutton, …) to the Arduino’s libraries directory. I am able to compile the PushbottonExample and load to the Arduino now. I guess this is a restriction of Arduino’s IDE that cannot have complex directory structure under libraries.


I am glad you figured out what the problem was; thanks for letting us know.