Go Down

Topic: Sending commands from Processing to Arduino that use Arduino Library (Read 339 times) previous topic - next topic

GiantJacob

I want to use Processing to help setup my adafruit neopixel LED strip to run synchronized with music.

I am using this tutorial as a guide:
http://www.instructables.com/id/How-to-Make-LEDs-Flash-to-Music-with-an-Arduino/#step1

I got the tutorial working but when I try to control my light strip I get into problems because I need to use some functions from the arduino library Adafruit_NeoPixel.h,which has functions like things like "strip.begin()" to initialize the strip. Processing doesn't seem to be able to access this library (I think because processing is in java, not C). So I want to find any way to be able to make the Processing make arduino run the "strip.whatever" commands. Is this possible? If so, how would I do it?

I am not a great or knowledgeable programmer, I just dabble in stuff like this and all the other topics that seemed related were a little over my head.

Grumpy_Mike

There is no way to do this as long as you fill your arduino with fermatter code.
You need to learn how to talk to an arduino with Processing through the serial port then you can put whatever code you like in the arduino.

Go Up