C# Class NapkinCommon.BlinkMCommand

Exibir arquivo Open project: cjdaly/napkin

Public Properties

Property Type Description
DefaultClockRateKhz int
FadeToHSB BlinkMCommand
FadeToRGB BlinkMCommand
FadeToRandomHSB BlinkMCommand
FadeToRandomRGB BlinkMCommand
GetAddress BlinkMCommand
GetRGB BlinkMCommand
GetVersion BlinkMCommand
GoToRGB BlinkMCommand
PlayScript BlinkMCommand
SetAddress BlinkMCommand
SetFadeSpeed BlinkMCommand
SetTimeAdjust BlinkMCommand
StopScript BlinkMCommand

Public Methods

Method Description
BlinkMCommand ( String name, char command, int argCount, int retValCount, int postExecuteDelayMillis ) : System
Execute ( Microsoft.SPOT.Hardware.I2CDevice device, Microsoft.SPOT.Hardware.I2CDevice config ) : bool
ToString ( ) : String

Private Methods

Method Description
Flush ( Microsoft.SPOT.Hardware.I2CDevice device ) : void

Method Details

BlinkMCommand() public method

public BlinkMCommand ( String name, char command, int argCount, int retValCount, int postExecuteDelayMillis ) : System
name String
command char
argCount int
retValCount int
postExecuteDelayMillis int
return System

Execute() public method

public Execute ( Microsoft.SPOT.Hardware.I2CDevice device, Microsoft.SPOT.Hardware.I2CDevice config ) : bool
device Microsoft.SPOT.Hardware.I2CDevice
config Microsoft.SPOT.Hardware.I2CDevice
return bool

ToString() public method

public ToString ( ) : String
return String

Property Details

DefaultClockRateKhz public_oe static_oe property

public static int DefaultClockRateKhz
return int

FadeToHSB public_oe static_oe property

public static BlinkMCommand,NapkinCommon FadeToHSB
return BlinkMCommand

FadeToRGB public_oe static_oe property

public static BlinkMCommand,NapkinCommon FadeToRGB
return BlinkMCommand

FadeToRandomHSB public_oe static_oe property

public static BlinkMCommand,NapkinCommon FadeToRandomHSB
return BlinkMCommand

FadeToRandomRGB public_oe static_oe property

public static BlinkMCommand,NapkinCommon FadeToRandomRGB
return BlinkMCommand

GetAddress public_oe static_oe property

public static BlinkMCommand,NapkinCommon GetAddress
return BlinkMCommand

GetRGB public_oe static_oe property

public static BlinkMCommand,NapkinCommon GetRGB
return BlinkMCommand

GetVersion public_oe static_oe property

public static BlinkMCommand,NapkinCommon GetVersion
return BlinkMCommand

GoToRGB public_oe static_oe property

public static BlinkMCommand,NapkinCommon GoToRGB
return BlinkMCommand

PlayScript public_oe static_oe property

public static BlinkMCommand,NapkinCommon PlayScript
return BlinkMCommand

SetAddress public_oe static_oe property

public static BlinkMCommand,NapkinCommon SetAddress
return BlinkMCommand

SetFadeSpeed public_oe static_oe property

public static BlinkMCommand,NapkinCommon SetFadeSpeed
return BlinkMCommand

SetTimeAdjust public_oe static_oe property

public static BlinkMCommand,NapkinCommon SetTimeAdjust
return BlinkMCommand

StopScript public_oe static_oe property

public static BlinkMCommand,NapkinCommon StopScript
return BlinkMCommand