Hello, I am hoping you all are nice guys and gals over here. I had some ws2812b leds that i was trying to have do certain functions rather than buy some random controller with functions that someone else thought i might want. So I came a cross pixelblaze and it seemed to be exactly what i wanted except that i can't figure out how the programming works. the creator said to come over here to figure out how to program, but I have no idea where to start. It seems to me that the programming language is different than what arduino uses. I really don't even need it to do much...it is being used for my car and i just wanted to have a few functions like a caution signal going from left to right and going from right to left then one that goes from the center out. mabey one of you kind fellows can help me out with the programming of these three features. here is some code, so can read it. let me know if it matches any code where i can learn how to program myself, thanks.
export function beforeRender(delta) {
t1 = time(.1)
}
export function render(index) {
v = triangle((2wave(t1) + index/pixelCount) %1)
v = vvvv*v
s = v < .9
hsv(t1,s,v)
}
Thanks for the help guys. here is a link to the pre programmed code for what comes on the board. he made the kitt car program for me, but then told me to come here to learn how to use his product.
I have no idea what the language is and where to start.
It looks like some sort of custom pattern-generation language, accessed via web/wifi or something.
I'm not sure what it has to do with Arduino, or why they would send you here for help... I can't see that it's even designed to talk to an Arduino.
Ok, so I get that this is not an arduino product and I have no idea why the maker would tell me to come here, but here I am. I am using it for led strips, which i gather arduino can do as well. And it looks like some people on this site know how to program the arduino to make led strips do like functions and stuff...so I wonder if maybe there is a nice person who is willing to tell me a little about how this stuff works so i can learn to program my own functions. So before you puff your chest and tell me why you won't help me, understand that i come to you (the experts on this stuff) in a forum setting to learn code regardless of brand. thanks
Sorry but if whoever designed the product you're using has also invented his own language to program it then there is probably no-one here who is anything like an "expert" in it. People here are helpful but not to the extent of learning a whole new product and new language so they can provide assistance.
If you want to run your LEDs using an Arduino then you could probably get some help. In fact it sounds like what you want to do is not unusual so Googling something like "Arduino sequential turn signals" might get you pretty close.
I think whoever told you to come here is messing you about. I don't know anything about Pixelblaze, this is the first I have heard of it. I'm going to speculate, is Pixelblaze based around an Arduino? While there is much expertise here about Arduino and electronics generally, the only expertise you will find for Pixelblaze will be its creator, and, by the sound of it, Pixelblaze's creator isn't helpful. If you want to make an LED controller to work the way you want then I'm afraid you need to roll up your sleeves and learn the necessary electronics and programming. Once you show willing to do that then people on here will help you. However, do understand that, regardless of what Mr. Pixelblaze told you, this is NOT a Pixelblaze support site.
pmpstyles:
Ok, so I get that this is not an arduino product and I have no idea why the maker would tell me to come here, but here I am. I am using it for led strips, which i gather arduino can do as well. And it looks like some people on this site know how to program the arduino to make led strips do like functions and stuff...so I wonder if maybe there is a nice person who is willing to tell me a little about how this stuff works so i can learn to program my own functions. So before you puff your chest and tell me why you won't help me, understand that i come to you (the experts on this stuff) in a forum setting to learn code regardless of brand. thanks
Hi,
Pixelblaze creator here.
I didn't tell you to come to the Arduino forums for Pixelblaze support. That said, Arduino is a great platform for learning, and with a great community.
When you asked for help, I created a youtube video showing you my thought process for creating a Knight Rider KITT pattern (at your request). For those interested the thought process is applicable in any language/platform (Pixelblaze uses a subset of JavaScript):
When you asked for more help with LED patterns in general, I sent you a link to https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
Which has a ton of great examples for how to make various LED effects on an Arduino, all of these concepts can be applied to Pixelblaze.
Of course there are the resources that you already have access to, including the built-in help. And the getting started guide. And a few more videos on my channel.
I've replied to every email, and tried to give you helpful pointers and advice. If there's some way I can help out further, let me know and I'll do my best.
"Sorry but if whoever designed the product you're using has also invented his own language to program it then there is probably no-one here who is anything like an "expert" in it."
Thank you, that is exactly what i thought when i saw his programming. It looks like nothing else "I" have seen in the led strip community, so I just though maybe some of you might understand it. I will get back to the creator and try to get him to explain the language more. I can see all the expressions that can be used, but that doesn't tell me what they do, so thanks for the not help anyways guys, bye.
I can see a "well, first you should become familiar with the capabilities of LED strips in general, perhaps by programming them with an Arduino. Then you'll have a better understanding and appreciation for how this custom-language controller can be used" sort of vibe...