Pages: [1]   Go Down
Author Topic: Sending commands from Processing to Arduino that use Arduino Library  (Read 256 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33358
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: