private void InitLED() { LedPattern pattern = new LedPattern(); pattern.SwitchOn(LedPattern.Channel.Center, LedPattern.Symbol.Circle, Color.green, 255); _senso.ChangeLED(pattern); }
private void AdjustLedPattern(Direction dir, bool down) { LedPattern pattern = new LedPattern(); if (down) { pattern.SwitchOn(LedPattern.DirectionToChannel(dir), LedPattern.Symbol.Arrow, Color.yellow, 255); } else { pattern.SwitchOff(LedPattern.DirectionToChannel(dir)); } Debug.Log("Adjusted LED: " + pattern.channel + ", " + pattern.mode + ", " + pattern.symbol); _senso.ChangeLED(pattern); }