NeoTrellis
Examples
const NeoTrellis = ;const trellis = ; trellis; trellis; // change button 0 to red// (index, r, g, b)trellis
API
.changeColor(index, r, g, b)
index
- the buttons indexr
the red valueb
the blue valueg
the green value
Events
ButtonX
- fired whenButtonX
is pressed whereX
is the buttons indexpress
- fired when any button is pressed