Mapping twin circle OR setting start/end points of LED string

Hey!

Yes, the code goes in each pattern.

Honestly, if you wrote some Python, Pixelblaze is MUCH easier.

It’s hard to know where you’re at to suggest stuff, but if you’re starting from scratch, I think Codecademy’s Intro to JavaScript might set you on a decent path, as long as you know what you can ignore (and you can ignore a lot).

You can ignore everything around:

  • Data types, including strings (there’s only numbers in Pixelblaze variables)
  • Objects (these are usually identified by a comma between curly braces, like {property: value}) and their methods and properties (usually identified with a period in the middle, like object.method() or object.property)

Of the intro course, you probably should read:

  • Introduction - just the following sections:
    • Comments and Arithmetic operators
    • Variables (just var - no let or const)
    • Mathematical assignment operators
    • Increment and decrement
  • Conditional Statements - All of this section except switch
  • Functions - all except default parameters and concise body arrow functions
  • Scope
  • Arrays
  • Loops

And skip the rest.

I hope this helps - I promise it’s really approachable and a lovely, simple way to get started with coding.

4 Likes