public void render(AnimationFrame frame) { for (var i = 0; i < 8; i++) { var b = frame.Values[i]; _buffer[i] = (byte)((b >> 1) | (b << 7)); } _backpack.drawFrame(_buffer); }
public BackpackAnimator(Adafrut8x8LEDBackpack backpack, AnimationFrame[] frames) { _backpack = backpack; _frames = frames; }