C# Class Emmellsoft.IoT.Rpi.SenseHat.Tools.LedBuffer.LedBufferSupport

Datei anzeigen Open project: emmellsoft/RPi.SenseHat

Public Methods

Method Description
BufferToPixels ( byte buffer, double senseHatGamma ) : ].Color[
GetInitialLedBuffer ( ) : byte[]
PixelsToBuffer ( Color pixels, double senseHatGamma ) : byte[]

Method Details

BufferToPixels() public static method

public static BufferToPixels ( byte buffer, double senseHatGamma ) : ].Color[
buffer byte
senseHatGamma double
return ].Color[

GetInitialLedBuffer() public static method

public static GetInitialLedBuffer ( ) : byte[]
return byte[]

PixelsToBuffer() public static method

public static PixelsToBuffer ( Color pixels, double senseHatGamma ) : byte[]
pixels System.Drawing.Color
senseHatGamma double
return byte[]