Rev 1023 | Rev 1046 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1023 | Rev 1031 | ||
|---|---|---|---|
| Line 164... | Line 164... | ||
| 164 | </command> |
164 | </command> |
| 165 | <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD"> |
165 | <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD"> |
| 166 | <variables> |
166 | <variables> |
| 167 | <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/> |
167 | <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/> |
| 168 | <variable name="Transparent" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/> |
168 | <variable name="Transparent" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/> |
| 169 | <variable name="X" type="uint" start_bit="2" bit_length=" |
169 | <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/> |
| 170 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
170 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 171 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
171 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
| 172 | </variables> |
172 | </variables> |
| 173 | </command> |
173 | </command> |
| - | 174 | <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD"> |
|
| - | 175 | <variables> |
|
| - | 176 | <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/> |
|
| - | 177 | <variable name="Fill" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"/> |
|
| - | 178 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
|
| - | 179 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
|
| - | 180 | <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
|
| - | 181 | <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
|
| - | 182 | <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/> |
|
| - | 183 | </variables> |
|
| - | 184 | </command> |
|
| 174 | 185 | ||
| - | 186 | <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD"> |
|
| - | 187 | <variables> |
|
| - | 188 | <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/> |
|
| - | 189 | <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
|
| - | 190 | <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
|
| - | 191 | <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
|
| - | 192 | <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
|
| - | 193 | </variables> |
|
| - | 194 | </command> |
|
| 175 | 195 | ||
| - | 196 | <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD"> |
|
| - | 197 | <variables> |
|
| - | 198 | <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/> |
|
| - | 199 | <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
|
| - | 200 | <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
|
| - | 201 | <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
|
| - | 202 | </variables> |
|
| - | 203 | </command> |
|
| - | 204 | ||
| - | 205 | <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD"> |
|
| - | 206 | <variables> |
|
| - | 207 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
|
| - | 208 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
|
| - | 209 | <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
|
| - | 210 | <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
|
| - | 211 | </variables> |
|
| 176 | 212 | </command> |
|
| 177 | 213 | ||
| 178 | <command id="128" name="Demo" type="specific" module="Dimmer230" description=""> |
214 | <command id="128" name="Demo" type="specific" module="Dimmer230" description=""> |
| 179 | <variables> |
215 | <variables> |
| 180 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
216 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 181 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
217 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 182 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
218 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 183 | </variables> |
219 | </variables> |
| 184 | </command> |
220 | </command> |
| - | 221 | ||
| 185 | <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description=""> |
222 | <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description=""> |
| 186 | <variables> |
223 | <variables> |
| 187 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
224 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 188 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
225 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 189 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
226 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |