pololu / pololu-led-strip-arduino

Arduino library for addressable RGB LED strips from Pololu
http://www.pololu.com/catalog/product/2540
MIT License
163 stars 85 forks source link

I get an error trying to run any sketches #7

Closed OneSprague closed 9 years ago

OneSprague commented 9 years ago

Hi, can you point me in a direction?

I put the library in the correct folder, and i open the "LedStripColor Tester" sketch and i get an error and it highlights this line: PololuLedStrip<12> ledStrip;

This is the error it chucks out: This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Windows Vista), Board: "Arduino Uno" LedStripColorTester:29: error: expected constructor, destructor, or type conversion before '<' token LedStripColorTester:33: error: 'rgb_color' does not name a type LedStripColorTester.ino: In function 'void loop()': LedStripColorTester:56: error: 'rgb_color' was not declared in this scope LedStripColorTester:56: error: expected `;' before 'color' LedStripColorTester:57: error: 'color' was not declared in this scope LedStripColorTester:64: error: 'colors' was not declared in this scope LedStripColorTester:68: error: 'ledStrip' was not declared in this scope LedStripColorTester:68: error: 'colors' was not declared in this scope

DavidEGrayson commented 9 years ago

Hello. Could you copy and paste the entire verbose output so I can check to see if there are any earlier warning messages before the errors you posted? Also, to double-check the installation of your library, could you tell me the full paths of both PololuLedStrip.h and PololuLedStrip.cpp? Did you try restarting the Arduino IDE? Do you see "PololuLedStrip" listed in the examples menu?

DavidEGrayson commented 9 years ago

I'm closing this since there hasn't been any activity in 6 days and it is not likely to be a problem with the library. If you are still having problems, please contact Pololu support.