C# Class com.earlofmarch.reach.BuzzerLayer

Inheritance: IBuzzerLayer
Datei anzeigen Open project: eomprogramming/Reach-For-The-Top

Public Methods

Method Description
BuzzerLayer ( ) : System
lightUp ( int handset, int buzzer ) : void
putOut ( int handset, int buzzer ) : void
setCallback ( Callback c ) : void

Private Methods

Method Description
somethingHappens ( Object sender, BuzzIO.BuzzButtonChangedEventArgs e ) : void
unplugged ( Object sender, EventArgs e ) : void
updateLights ( int h ) : void
xor ( System.Boolean a, System.Boolean b ) : System.Boolean
xor ( BuzzIO.ButtonStates a, BuzzIO.ButtonStates b ) : BuzzIO.ButtonStates

Method Details

BuzzerLayer() public method

public BuzzerLayer ( ) : System
return System

lightUp() public method

public lightUp ( int handset, int buzzer ) : void
handset int
buzzer int
return void

putOut() public method

public putOut ( int handset, int buzzer ) : void
handset int
buzzer int
return void

setCallback() public method

public setCallback ( Callback c ) : void
c Callback
return void