Initial revision
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
Object methods and properties and some vars
|
||||
|
||||
Tcomms
|
||||
Properties
|
||||
int InboundFD (for select to watch if>0)
|
||||
IMODE imode {none,polled,fd} (method for reading data)
|
||||
Tconfig config
|
||||
Methods
|
||||
ParseConfig(TConfig config)
|
||||
Init
|
||||
poll
|
||||
writechar
|
||||
writestr
|
||||
|
||||
Tserial
|
||||
Private Vars
|
||||
char port[]
|
||||
int speed
|
||||
Properties
|
||||
|
||||
|
||||
|
||||
Tdriver
|
||||
Properties
|
||||
Tconfig config
|
||||
int backlight_state
|
||||
int disp_width
|
||||
int disp_height
|
||||
Methods
|
||||
Init
|
||||
ClearScr
|
||||
NewCustomChar(struct CustChar defination)
|
||||
PutCustChar(zoff,yoff,char)
|
||||
PutChar(xoff,yoff,char)
|
||||
PlaceString(xoff,yoff,string)
|
||||
DrawHorizBar(xoff,yoff,chwidth,percentage)
|
||||
DrawVertBar(xoff,yoff,chheight,percentage)
|
||||
|
||||
|
||||
|
||||
Tdisplay
|
||||
Properties
|
||||
Tdriver driver
|
||||
Tconfig config
|
||||
int RefreshInterval (for clock would be 500 for every half second)
|
||||
Methods
|
||||
HardInit (called once on prog start)
|
||||
Init (called on every new cycle)
|
||||
|
||||
Reference in New Issue
Block a user