WindowsIoT.TouchSample/Communication/SerialComm.cs
/// <summary>
/// Set minimum level for brightness regulation
/// </summary>
/// <param name="channel">Channel number, range [0;7]</param>
/// <param name="value">Brightness level, range [0;255]</param>
Set minimum level for brightness regulation
Set minimum level for brightness regulation
public void MinLvlSet(byte channel, byte value)
        {
            if (channel > 7)
                return;
            lock (LockObj)
                buffer[channel] = value;
        }
public void MinLvlSet ( byte channel , byte value ) { if ( channel > 7 ) return ; lock ( LockObj ) buffer [ channel ] = value ; }
Set minimum level for brightness regulation
Set minimum level for brightness regulation
channel
byte
Channel number, range [0;7]
Channel number range [ 0 ; 7 ]
value
byte
Brightness level, range [0;255]
Brightness level range [ 0 ; 255 ]