View Single Post
  #2   Spotlight this post!  
Unread 18-02-2014, 18:25
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Andymark LED strip Programming Issues

Quote:
Originally Posted by Maxwell777 View Post
So, I'm moderatly new to programming with Arduinos. I'm trying to set up this LED strip, and I'm trying to run the light chaser example. I included all of the relevant libraries (I get the feeling that I didn't do it correctly, even though It seems to be), but I'm getting a few errors whenever I verify the code.

The Error(s):

LEDchaser.cpp.o: In function `missing_dot_chase(unsigned long, unsigned char)':
C:\Program Files (x86)\Arduino/LEDchaser.ino:97: undefined reference to `FastLED'
C:\Program Files (x86)\Arduino/LEDchaser.ino:97: undefined reference to `FastLED'
LEDchaser.cpp.o: In function `CFastLED::show()':
C:\Users\Maxwell\Google Drive\FRC_Programs\LED Strip\LEDchaser/FastLED.h:132: undefined reference to `CFastLED::show(unsigned char)'
LEDchaser.cpp.o: In function `color_chase(unsigned long, unsigned char)':
C:\Program Files (x86)\Arduino/LEDchaser.ino:71: undefined reference to `FastLED'
C:\Program Files (x86)\Arduino/LEDchaser.ino:71: undefined reference to `FastLED'
C:\Program Files (x86)\Arduino/LEDchaser.ino:71: undefined reference to `CFastLED::clear(unsigned char)'
LEDchaser.cpp.o: In function `CFastLED::show()':
C:\Users\Maxwell\Google Drive\FRC_Programs\LED Strip\LEDchaser/FastLED.h:132: undefined reference to `CFastLED::show(unsigned char)'
LEDchaser.cpp.o: In function `loop':
C:\Program Files (x86)\Arduino/LEDchaser.ino:59: undefined reference to `hsv2rgb_rainbow(CHSV const&, CRGB&)'
LEDchaser.cpp.o: In function `CLEDController* CFastLED::addLeds<(EClocklessChipsets)3, (unsigned char)11, (EOrder)10>(CRGB const*, int, int)':
C:\Users\Maxwell\Google Drive\FRC_Programs\LED Strip\LEDchaser/FastLED.h:115: undefined reference to `CFastLED::addLeds(CLEDController*, CRGB const*, int, int)'
LEDchaser.cpp.o: In function `setup':
C:\Program Files (x86)\Arduino/LEDchaser.ino:33: undefined reference to `FastLED'
C:\Program Files (x86)\Arduino/LEDchaser.ino:33: undefined reference to `FastLED'


I've been looking around, and I can't seem to much material on setting up this LED string, and coding for it.

If you need any more information, just say it

Help is always appreciated, whether it's for the error or general help programming the LEDs.
Could you either attach your code, or post it here. That will help us help you.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist