Example #1
0
        public bool SetCharacterPattern(char character, PulseColor foreground, PulseColor background, bool inlcudeSlave)
        {
            if (!IsConnectMasterDevice)
            {
                return(false);
            }
            int foregroundColor = WebColorHelper.RGBToWeb216Index(foreground);
            int backgroundColor = WebColorHelper.RGBToWeb216Index(background);

            SppCmdHelper.SetCharacterPattern(character, foregroundColor, backgroundColor, inlcudeSlave);
            return(Convert.ToBoolean(true));
        }
Example #2
0
 public void SetLedAndSoundFeedback(int devIndex)
 {
     SppCmdHelper.reqLEDAndSoundFeedback(devIndex);
 }