C# Class ThingM.Blink1.ConsoleDemo.Program

Blink(1) console demonstration program.
Mostrar archivo Open project: todbot/blink1

Public Methods

Method Description
Main ( string args ) : void

The main program.

Private Methods

Method Description
GetDifferentSeed ( ) : int

Get a truly different seed number.

GetRandomRgbColor ( ) : ThingM.Blink1.ColorProcessor.Rgb

Generate a random RGB color object.

TestCase1 ( ) : void

Pass 1: work on the first Blink(1) device found, synchronously

TestCase2 ( ) : void

Pass 2: work on the last Blink(1) device found, asynchronously

TestCase3 ( ) : void

Pass 3: reading the current presets

TestCase4 ( ) : void

Pass 4: playing the current presets

TestCase5 ( ) : void

Pass 5: saving new random presets

TestCase6 ( ) : void

Pass 6: reading the new random presets

TestCase7 ( ) : void

Pass 7: playing the new random presets

TestCase8 ( ) : void

Pass 8: work with the inactivity mode

Method Details

Main() public static method

The main program.
public static Main ( string args ) : void
args string /// The arguments. ///
return void