C# 클래스 Akafugu.TWIDisplay

파일 보기 프로젝트 열기: akafugu/twidisplay 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
set_number ( int num ) : void

메소드 상세

TWIDisplay() 공개 메소드

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

TWIDisplay() 공개 메소드

public TWIDisplay ( ushort address ) : System
address ushort
리턴 System

changeAddress() 공개 메소드

public changeAddress ( uint new_addr ) : void
new_addr uint
리턴 void

clear() 공개 메소드

public clear ( ) : void
리턴 void

setBrightness() 공개 메소드

public setBrightness ( uint brightness ) : void
brightness uint
리턴 void

setDot() 공개 메소드

public setDot ( int position, bool on ) : void
position int
on bool
리턴 void

setDots() 공개 메소드

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

setPosition() 공개 메소드

public setPosition ( uint position ) : void
position uint
리턴 void

setRotateMode() 공개 메소드

public setRotateMode ( ) : void
리턴 void

setScrollMode() 공개 메소드

public setScrollMode ( ) : void
리턴 void

showAddress() 공개 메소드

public showAddress ( ) : void
리턴 void

writeChar() 공개 메소드

public writeChar ( char val ) : void
val char
리턴 void

writeInt() 공개 메소드

public writeInt ( int val ) : void
val int
리턴 void

writeSegments() 공개 메소드

public writeSegments ( int segments ) : void
segments int
리턴 void

writeStr() 공개 메소드

public writeStr ( string val ) : void
val string
리턴 void

writeTemperature() 공개 메소드

public writeTemperature ( float f, char symbol ) : void
f float
symbol char
리턴 void

writeTemperature() 공개 메소드

public writeTemperature ( int temp ) : void
temp int
리턴 void

writeTemperature() 공개 메소드

public writeTemperature ( int temp, char symbol ) : void
temp int
symbol char
리턴 void

writeTime() 공개 메소드

public writeTime ( int hour, int min, int sec ) : void
hour int
min int
sec int
리턴 void