CMD16
From MCS Wiki AVR
				
								
				(Difference between revisions)
				
																
				
				
								
				|  (Created page with "<span class="f_Header">Action</span>  This statement will send a word to the FT800 graphic processor.  <span style="font-family: Arial;"> </span>  <span style="font-famil...") | |||
| Line 1: | Line 1: | ||
| − | <span class="f_Header">Action</span> | + | = <span class="f_Header">Action</span> = | 
| This statement will send a word to the FT800 graphic processor. | This statement will send a word to the FT800 graphic processor. | ||
| Line 7: | Line 7: | ||
| <span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
| − | <span class="f_Header">Syntax</span> | + | = <span class="f_Header">Syntax</span> = | 
| <span style="font-weight: bold; color: rgb(0, 0, 128);">CMD16  </span>prm | <span style="font-weight: bold; color: rgb(0, 0, 128);">CMD16  </span>prm | ||
| Line 15: | Line 15: | ||
| <span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
| − | <span class="f_Header">Remarks</span> | + | = <span class="f_Header">Remarks</span> = | 
| CMD16 expects a numeric parameter. It will call the _cmd16 assembled code in FT800.LIB | CMD16 expects a numeric parameter. It will call the _cmd16 assembled code in FT800.LIB | ||
| Line 23: | Line 23: | ||
| <span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
| − | <span class="f_Header">See also</span> | + | = <span class="f_Header">See also</span> = | 
| − | <span style="font-family: Arial;">[ | + | <span style="font-family: Arial;">[[CMD8]] , [[CMD32]] , [[WR8]] , [[WR16]] , [[WR32]]</span> | 
| <span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
| Line 31: | Line 31: | ||
| <span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
| − | <span class="f_Header">Example</span> | + | = <span class="f_Header">Example</span> = | 
| − | + | ||
| − | + | ||
| <source lang="bascomavr"> | <source lang="bascomavr"> | ||
Latest revision as of 12:56, 12 December 2014
| Contents | 
Action
This statement will send a word to the FT800 graphic processor.
Syntax
CMD16 prm
Remarks
CMD16 expects a numeric parameter. It will call the _cmd16 assembled code in FT800.LIB
See also
CMD8 , CMD32 , WR8 , WR16 , WR32
Example
Sub Cmdprogress(bystack X As Integer , Bystack Y As Integer , Bystack W As Integer , Bystack H As Integer , Bystack Options As Word , Bystack Value As Word , Bystack Range As Word) ' Draws a Progress Bar ' Options Are ' OPT_3D = 0 ' OPT_FLAT Cmd32 Cmd_progress cmdftstack 14 Cmd16 &H0000 ' was a total of 18 bytes, to align with 4byte boundary it had to be offset of 20 End Sub
| Languages | English | 
|---|