Asked — Edited

Neopixel Tutorial

Trying to work through the neopixel tutorial. Is this working for others? I can't get the Arduino sketch to compile with new and old versions of IDE.

Is this working for others or is the problem on my end.

Thanks


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

PRO
Synthiam
#1  

Do you have a link to the tutorial that you're referring to? Who made the tutorial? Where is it? Etc...

PRO
Synthiam
#3  

This may be a silly question, but did you read the description of the tutorial which bob made? He has listed requirements. Does your environment meet those requirements?

Also, you didn't include an error message that you're receiving.

I'm sure bob may chime in if he's around. But I'd start by reading the description and following the requirements that bob documented in his tutorial.

#4  

Yes that is the correct tutorial and I did read the description. I also have experience using the neopixel ring with MRL with a satellite arduino.

I am going to work on it a bit tonight and I will post more info with the specific errors I am receiving.

Excited to get this going because once it is that means that in a little over 1 month after receiving my EZB with no knowledge of it and being an amateur coder I will have recreated all of the MRL functionality I had after a year of working with that. And it actually works now.

PRO
Synthiam
#5  

That's amazing news - you're a poster child for ezrobot! Let's keep this momentum going

As for the errors, share them and we'll get you running asap

#6  

That's awesome @Perry... Too bad we can't get Gael himself on board with ez robot... Think how much further the inMoov project could advance over MRL...

#7  

@Richard R Build it and they will come.

#8  

OK, still no luck for me. I downloaded the recommended Arduino version 1.6.3. Wen I try to compile the sketch here is what I get.


Arduino: 1.6.3 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch_jun14a.ino:33:1: error: expected class-name before '{' token

sketch_jun14a.ino:224:1: error: expected '}' at end of input

sketch_jun14a.ino: In constructor 'NeoPatterns::NeoPatterns(uint16_t, uint8_t, uint8_t, void (*)())':

sketch_jun14a.ino:51:2: error: class 'NeoPatterns' does not have any field named 'Adafruit_NeoPixel'

sketch_jun14a.ino: In member function 'void NeoPatterns::Update()':

sketch_jun14a.ino:65:20: error: 'RainbowCycleUpdate' was not declared in this scope

sketch_jun14a.ino:68:20: error: 'TheaterChaseUpdate' was not declared in this scope

sketch_jun14a.ino:71:17: error: 'ColorWipeUpdate' was not declared in this scope

sketch_jun14a.ino:74:15: error: 'ScannerUpdate' was not declared in this scope

sketch_jun14a.ino:77:12: error: 'FadeUpdate' was not declared in this scope

sketch_jun14a.ino: In member function 'void NeoPatterns::Increment()':

sketch_jun14a.ino:103:22: error: 'color' was not declared in this scope

sketch_jun14a.ino:104:8: error: 'dimColor' was not declared in this scope

sketch_jun14a.ino:104:8: error: return-statement with a value, in function returning 'void' [-fpermissive]

sketch_jun14a.ino:109:1: error: a function-definition is not allowed here before '{' token

sketch_jun14a.ino:115:1: error: a function-definition is not allowed here before '{' token

sketch_jun14a.ino:121:1: error: a function-definition is not allowed here before '{' token

sketch_jun14a.ino:128:1: error: a function-definition is not allowed here before '{' token

sketch_jun14a.ino:224:1: error: expected '}' at end of input

sketch_jun14a.ino: At global scope:

sketch_jun14a.ino:224:1: error: expected unqualified-id at end of input

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

Any ideas?