mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 06:06:47 -04:00
Tweaked LED RGB values.
This commit is contained in:
@@ -23,13 +23,13 @@ type Lights struct {
|
||||
func (lightPacket *LightPacket) setColor(channel int, color string) {
|
||||
switch color {
|
||||
case "red":
|
||||
lightPacket.setRgb(channel, 16, 0, 0)
|
||||
lightPacket.setRgb(channel, 15, 0, 0)
|
||||
case "blue":
|
||||
lightPacket.setRgb(channel, 0, 0, 16)
|
||||
lightPacket.setRgb(channel, 0, 0, 15)
|
||||
case "yellow":
|
||||
lightPacket.setRgb(channel, 16, 16, 0)
|
||||
lightPacket.setRgb(channel, 15, 11, 0)
|
||||
default:
|
||||
lightPacket.setRgb(channel, 13, 12, 11)
|
||||
lightPacket.setRgb(channel, 0, 0, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user