Hi, I am trying to get this code working:

Hi, I am trying to get this code working: https://github.com/StefanPetrick/FunkyClouds/blob/master/FunkyClouds.ino
The MSGEQ7 board I am using is this one: http://www.ebay.com/itm/MSGEQ7-Dual-Channel-Stereo-7-Band-Audio-Breakout-Board-Arduino-Raspberry-Pi/322234758763?_trksid=p2047675.c100012.m1985&_trkparms=aid%3D777003%26algo%3DDISCL.MBE%26ao%3D1%26asc%3D39107%26meid%3Dc467792391ea4f5ead64053376627604%26pid%3D100012%26rk%3D2%26rkt%3D12%26sd%3D322062289689
I have tested the EQ7 set up using the first bit of code here: http://tronixstuff.com/2013/01/31/tutorial-arduino-and-the-msgeq7-spectrum-analyzer/
Everything behaves as it should. However on trying the “Funky Clouds” code I get nothing. Checked the serial monitor and nothing doing. I have changed the code regarding pin assignments according to my set up. I think the problem may be in setting up the custom matrix size and associated code but I’m just learning so its a struggle and I don’t think that bit would lead to zero results, just odd results.
Using FastLED 3.1 on a Funduino ATmega2560 with Arduino 1.6.8
Your help appreciated :slight_smile:

I’d need to see your code to help. Can you post it on https://gist.github.com or http://pastebin.com and post a link to it here?

Do you have the LEDs working without the MSGEQ7?

Hi Jason. Here’s the pastebin of the code with my alterations: http://pastebin.com/Yc2GL7Ei
Yes i’ve had the led’s working with some of the library examples. I’ve also tested the functionality of the EQ7 as described above so I think all the hardware is fine. I’m just a bit of a code novice needing a hand I reckon. Cheers for replying, oh and I really like that Ducenti piece :slight_smile:

Hi guys, from the perspective of today FunkyClouds is the most horrible and unflexible piece of code I´ve ever written…
The problem is that it was designed for a 16x16 matrix and most of the effects are hard coded - meaning that it really needs a deep understanding of the functions in order to adapt them to other matrix sizes. Beside this - check if that definitions match your hardware setup (line 75):
// MSGEQ7 wiring on spectrum analyser shield
#define MSGEQ7_RESET_PIN 5
You should at least get useful readings from the chip. If you have a look at my old videos and tell which effect you are especially interested in I could offer to help explain how it works and rewrite the critical part in order to have it running on a different setup. I´m back at the computer on thuesday.

Hi Stefan, well i’m not an experienced coder so if it’s that difficult to adapt maybe I should be looking for some similar but less complex code? I’ll certainly have look at what you mentioned and see if I can get some results. If anyone has any suggestions for other eq7 software suitable for this type of setup that would be cool.

I have checked the section of code you mentioned, Stefan. It matches my hardware setup. Still nothing on the serial monitor.

All of the effects in the “plasma particle” video look great. Would appreciate your help to get it going. Are you back yet, Stefan?