teslaworksumn / HeadMaster

DMX parsing and I2C output for the master Animatronic Heads controller
MIT License
2 stars 0 forks source link

Code abstractions for turning LEDs on and off #55

Closed mplewis closed 7 years ago

mplewis commented 11 years ago

Title says it all. Setting registers is bush league.

taylortrimble commented 11 years ago

Could we get this both as individual LEDs, and also so we can export numbers to the pink LEDs?

mplewis commented 11 years ago

Sure. Such as, ledOn(ledNum), ledOff(ledNum), ledOut(0-F)?

taylortrimble commented 11 years ago

Yep, that's the idea!

taylortrimble commented 11 years ago

We also have controllable DMX/I2C LEDs. And don't forget the setup-plugin function!

mplewis commented 11 years ago

So, six LEDs then:

ledOn(0 to 5) ledOff(0 to 5) ledSet(00 to 7F)