// TODO: unificar na configuração geral
        public void SetLeds(LedsColors leds)
        {
            ConfigValues cfg = new ConfigValues(leds);

            CheckSession();
            WebJson.JsonCommand <string>(URL + "set_configuration.fcgi?session=" + Session, cfg, null, TimeOut);
            WebJson.JsonCommand <string>(URL + "led_rgb_refresh.fcgi?session=" + Session, null, null, TimeOut);
        }
Exemple #2
0
 public ConfigValues(LedsColors oled_rgb)
 {
     led_rgb = oled_rgb;
 }