C# Class Akafugu.TWIDisplay

Mostra file Open project: akafugu/twidisplay Class Usage Examples

Public Methods

Method Description
TWIDisplay ( Microsoft.SPOT.Hardware.I2CDevice display ) : System
TWIDisplay ( ushort address ) : System
changeAddress ( uint new_addr ) : void
clear ( ) : void
setBrightness ( uint brightness ) : void
setDot ( int position, bool on ) : void
setDots ( bool dot0, bool dot1, bool dot2, bool dot3 ) : void
setPosition ( uint position ) : void
setRotateMode ( ) : void
setScrollMode ( ) : void
showAddress ( ) : void
writeChar ( char val ) : void
writeInt ( int val ) : void
writeSegments ( int segments ) : void
writeStr ( string val ) : void
writeTemperature ( float f, char symbol ) : void
writeTemperature ( int temp ) : void
writeTemperature ( int temp, char symbol ) : void
writeTime ( int hour, int min, int sec ) : void

Private Methods

Method Description
set_number ( int num ) : void

Method Details

TWIDisplay() public method

public TWIDisplay ( Microsoft.SPOT.Hardware.I2CDevice display ) : System
display Microsoft.SPOT.Hardware.I2CDevice
return System

TWIDisplay() public method

public TWIDisplay ( ushort address ) : System
address ushort
return System

changeAddress() public method

public changeAddress ( uint new_addr ) : void
new_addr uint
return void

clear() public method

public clear ( ) : void
return void

setBrightness() public method

public setBrightness ( uint brightness ) : void
brightness uint
return void

setDot() public method

public setDot ( int position, bool on ) : void
position int
on bool
return void

setDots() public method

public setDots ( bool dot0, bool dot1, bool dot2, bool dot3 ) : void
dot0 bool
dot1 bool
dot2 bool
dot3 bool
return void

setPosition() public method

public setPosition ( uint position ) : void
position uint
return void

setRotateMode() public method

public setRotateMode ( ) : void
return void

setScrollMode() public method

public setScrollMode ( ) : void
return void

showAddress() public method

public showAddress ( ) : void
return void

writeChar() public method

public writeChar ( char val ) : void
val char
return void

writeInt() public method

public writeInt ( int val ) : void
val int
return void

writeSegments() public method

public writeSegments ( int segments ) : void
segments int
return void

writeStr() public method

public writeStr ( string val ) : void
val string
return void

writeTemperature() public method

public writeTemperature ( float f, char symbol ) : void
f float
symbol char
return void

writeTemperature() public method

public writeTemperature ( int temp ) : void
temp int
return void

writeTemperature() public method

public writeTemperature ( int temp, char symbol ) : void
temp int
symbol char
return void

writeTime() public method

public writeTime ( int hour, int min, int sec ) : void
hour int
min int
sec int
return void