EDU Activity Editor icon EDU Activity Editor — Design, edit and export structured Blockly-based lessons, groups and hints for ARC Lite Portable; supports rich HTML, images, JSON import/export. Try it →

ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

Author Avatar
PRO
USA
#9  

The tutorial's script has errors maybe a bad copy & paste.

The tutorial is related to this thread: https://synthiam.com/Community/Questions/6767

Can you try the code from post #67 (RobertL184)

And then there is a change/add-on post #68

What kind of arduino board you have ?

#10  

I was just reading through that thread and was at that point. So I used the code fro post #67. I still had some compile errors but much fewer.


Arduino: 1.6.3 (Windows 8.1), Board: "Arduino Uno"

sketch_jun14a.ino: In function 'void loop()':

sketch_jun14a.ino:416:62: error: invalid conversion from 'int' to 'direction' [-fpermissive]

sketch_jun14a.ino:184:10: error:   initializing argument 3 of 'void NeoPatterns::ColorWipe(uint32_t, uint8_t, direction)' [-fpermissive]

Error compiling.

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

I am trying to figure out the #68 post as that may clear up the rest of the errors but I don't understand it yet.

I have a mega I am testing with. I have an uno if that is needed. I eventually want it to run on an adafruit pro trinket

#11  

Perry, You need to add this line into the sketch; #include <Adafruit_NeoPixel.h> for some reason it doesn't show when the sketch is uploaded in the tutorial.

#12  

Hi Bob, I see now that is missing from the tutorial script. I added it back in and I was back the page of errors. Oddly enough I can get the script from post #37 of the reference thread to compile. Are there differences between the two? or different functionality?

Thanks

#13  

The sketch in the tutorial works for me, with that line added in and using Arduino version 1.6.3., as I see you are. The sketch from post #37 is the one in the tutorial less that line. I'll try and upload it a different way. Do you have it all working now?

#14  

Not yet Bob. I am still nutting it out a bit. Appreciate all the responses. I'll get there and post an update as I progress. Hooking up the wiring now.

#15  

Let me know, I just uploaded the sketch to the tutorial another way, so that it is complete - with that line in it. Then I tried compiling it and got error messages too. I worked on this a couple of months ago and had everything working, so I don't know what to tell you, I give up with this Arduino stuff! Unless someone can figure it out, I'll have DJ delete the tutorial.

#16  

OK Bob. I will try further tonight. Hopefully you won't need to delete the tutorial as I am proof that people want it and the neopixel functionality. Backwards compatibility for the Arduino IDE is frustrating. Let's see if we can get it working.