Subversion Repositories HomeAutomation

Rev

Rev 1046 | Rev 1054 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1046 Rev 1051
Line 140... Line 140...
140
   
140
   
141
   
141
   
142
   
142
   
143
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
143
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
144
      <variables>
144
      <variables>
145
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
145
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
146
      <value id="0" name="Standard"/>
-
 
147
          <value id="1" name="Inverted"/>
-
 
148
    </variable>
146
      </variables>
149
      </variables>
147
    </command>
150
    </command>
148
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
151
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
149
      <variables>
152
      <variables>
150
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
153
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
151
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
154
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
152
    <variable name="Inverted" type="uint" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"/>
155
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
-
 
156
      <value id="0" name="Standard"/>
-
 
157
          <value id="1" name="Inverted"/>
-
 
158
    </variable>
153
    <variable name="Transparent" type="uint" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
159
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
-
 
160
      <value id="0" name="Standard"/>
-
 
161
      <value id="1" name="Transparent"/>
-
 
162
    </variable>
154
      </variables>
163
      </variables>
155
    </command>
164
    </command>
156
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
165
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
157
      <variables>
166
      <variables>
158
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
167
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
159
      </variables>
168
      </variables>
160
    </command>
169
    </command>
161
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
170
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
162
      <variables>
171
      <variables>
163
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
172
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
173
      <value id="0" name="Standard"/>
-
 
174
          <value id="1" name="Inverted"/>
-
 
175
    </variable>
164
      </variables>
176
      </variables>
165
    </command>
177
    </command>
166
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
178
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
167
      <variables>
179
      <variables>
168
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
180
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
169
      </variables>
181
      </variables>
170
    </command>
182
    </command>
171
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
183
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
172
      <variables>
184
      <variables>
173
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
185
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
186
      <value id="0" name="Standard"/>
-
 
187
          <value id="1" name="Inverted"/>
-
 
188
    </variable>
174
    <variable name="Transparent" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
189
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
-
 
190
      <value id="0" name="Standard"/>
-
 
191
      <value id="1" name="Transparent"/>
-
 
192
    </variable>  
175
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
193
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
176
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
194
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
177
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
195
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
178
      </variables>
196
      </variables>
179
    </command>
197
    </command>
180
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
198
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
181
      <variables>
199
      <variables>
182
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
200
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
201
      <value id="0" name="Standard"/>
-
 
202
          <value id="1" name="Inverted"/>
-
 
203
    </variable>
183
    <variable name="Fill" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"/>
204
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
-
 
205
      <value id="0" name="NoFill"/>
-
 
206
      <value id="1" name="Fill"/>
-
 
207
    </variable>  
184
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
208
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
185
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
209
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
186
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
210
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
187
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
211
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
188
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
212
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
189
      </variables>
213
      </variables>
190
      </command>
214
      </command>
191
     
215
     
192
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
216
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
193
    <variables>
217
    <variables>
194
      <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
218
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
219
        <value id="0" name="Standard"/>
-
 
220
        <value id="1" name="Inverted"/>
-
 
221
      </variable>
195
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
222
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
196
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
223
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
197
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
224
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
198
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
225
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
199
    </variables>
226
    </variables>
200
      </command>
227
      </command>
201
   
228
   
202
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
229
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
203
    <variables>
230
    <variables>
204
      <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
231
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
-
 
232
        <value id="0" name="Standard"/>
-
 
233
        <value id="1" name="Inverted"/>
-
 
234
      </variable>
205
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
235
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
206
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
236
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
207
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
237
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
208
    </variables>
238
    </variables>
209
      </command>    
239
      </command>