Skip to content

Instantly share code, notes, and snippets.

@scottgonzalez
Created May 24, 2015 18:47
Show Gist options
  • Save scottgonzalez/4fe4791b656b4a14b7dd to your computer and use it in GitHub Desktop.
Save scottgonzalez/4fe4791b656b4a14b7dd to your computer and use it in GitHub Desktop.
  • Go to RGB Color Now
    • Already implemented; just basic RGB functionality
  • Fade to RGB Color
    • Can be implemented; needs fading logic
  • Fade to HSB Color
    • Can be implemented; needs fading logic and HSB translation
  • Fade to Random RGB Color
    • Can be implemented; needs fading logic
  • Fade to Random HSB Color
    • Can be implemented; needs fading logic
  • Play Light Script
    • Can't be implemented; requires memory built into the component
    • Playing a sequence that's programmed on demand can be implemented
  • Stop Script
    • Can be implemented, for the limited play support that's possible
  • Set Fade Speed
    • Can be implemented
  • Set Time Adjust
    • Can be implemented
  • Get Current RGB Color
    • Effectively already implemented with internal state
  • Write Script Line
    • Can't be implemented; requires memory built into the component
    • Writing a sequence in-memory in node can be implemented
  • Read Script Line
    • Can be implemented, for the limited write support that's possible
  • Set Script Length & Repeats
    • Can't be implemented; requires memory built into the component
    • Can be implemented, for the limited write support that's possible
  • Set BlinkM Address
    • Can't be implemented, doesn't make sense generically
    • Even where it does make sense, it's not possible with other controllers like PCA9685
  • Get BlinkM Address
    • Can be implemented
  • Get BlinkM Firmware Version
    • Only makes sense for BlinkM
  • Set Startup Parameters
    • Only makes sense for BlinkM
@rwaldron
Copy link

Right, and that's why I think a BlinkM-specific API might be nice. Though I could see this just being built on top of Johnny-Five, rather than being bundled.

I don't understand, there is nothing being taken away from the BlinkM, it will still store the sequences and play whatever sequence you set it to play. It's just that non-BlinkM things won't do that because they can't, but we can still play a sequence on non-BlinkM components.

something you'd do outside of the normal environment

I don't understand what you mean by this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment