showColor()
in
neopixel.ts [65:69]
5
lines of code
1
McCabe index (conditional complexity)
showColor(rgb: number) { rgb = rgb >> 0; this.setAllRGB(rgb); this.show(); }