Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(20)  |  Call(20)  |  Derive(0)  |  Import(0)

src/a/c/ACRIS-HEAD/sw/acris/plugins/vumeter.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        sat = 1.0;
        hues = [ 0, 45, 90 ]; # LED hues

src/a/c/ACRIS-HEAD/sw/acris/plugins/wallset.py   ACRIS(Download)
    def run(self): 
        backend.plugin.Plugin.run(self);
 
        if len(self.args) == 3:
            # set all leds to the same color

src/a/c/ACRIS-HEAD/sw/acris/plugins/sendcmd.py   ACRIS(Download)
    def run(self): 
        backend.plugin.Plugin.run(self);
 
        self.network.cmd(self.args, sendsync=False);
        self.enabled = False;

src/a/c/ACRIS-HEAD/sw/acris/plugins/lavalamp.py   ACRIS(Download)
    def run(self): 
        backend.plugin.Plugin.run(self);
 
        maxv = 100;
        timedelay = 0.05;

src/a/c/ACRIS-HEAD/sw/acris/plugins/huecycle.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        sat = 1.0;
        val = 1.0;

src/a/c/ACRIS-HEAD/sw/acris/plugins/futurenoir.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        if len(self.args) >= 1: maxv = int(self.args[0]);
        else:                   maxv = 255;

src/a/c/ACRIS-HEAD/sw/acris/plugins/fire.py   ACRIS(Download)
    def run(self): 
        backend.plugin.Plugin.run(self);
 
        hueparams = { 'scale': [2, 10, 10], 'frequency': [1.0, .2, .1], 'offset': [2, 10, 20]};
        valrdmparams = { 'rangelo': 0.6, 'rangehi': 0.75 };

src/a/c/ACRIS-HEAD/sw/acris/plugins/doublerainbow.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        sat = 1.0;
        val = 1.0;

src/a/c/ACRIS-HEAD/sw/acris/plugins/csfwaves.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        if len(self.args) >= 1: maxv = int(self.args[0]);
        else:                   maxv = 255;

src/a/c/ACRIS-HEAD/sw/acris/plugins/csftext.py   ACRIS(Download)
    def run(self):
        backend.plugin.Plugin.run(self);
 
        if len(self.args) >= 1: text = self.args[0].upper();
        else:                   text = "ACRIS";

  1 | 2  Next