-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 7.36 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="DF6|%y3nfF3zgw%3L]Hj" x="0" y="0"><statement name="HANDLER"><block type="LCD_Init" id="nCxk5G)ZL#l(P]h{D`Bi"><next><block type="LCD_Clear" id="s?I#8[4$j%9b{PZyGxXy"><next><block type="DrawLine" id="F)N=nm(/-crCQ6y.J@oO"><field name="Line_width">DOT_PIXEL.DOT_PIXEL_1</field><field name="Line_Style">LINE_STYLE.LINE_DOTTED</field><value name="Xstart"><shadow type="math_number_minmax" id="[umY-^n!u.{yjG1/Cnsb"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="Ystart"><shadow type="math_number_minmax" id="Z,vmZdR?Oo{SbI=u:U)~"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="Xend"><shadow type="math_number_minmax" id="0^Xpv9?[I$_;:GWZU[q+"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">139</field></shadow></value><value name="Yend"><shadow type="math_number_minmax" id="^ioOvenhaVEjeN(/kw9V"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="Color"><shadow type="math_number_minmax" id="9xo%EVC)_Q(/_X0n7h6g"><mutation min="0" max="65535" label="Number" precision="0"/><field name="SLIDER">63519</field></shadow></value><next><block type="device_show_number" id="YTb|oYNlUfxi!3uo$a$o"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><shadow type="math_number" id="+(nPfEhT`z$uq?[EeZi~"><field name="NUM">1</field></shadow></value><next><block type="device_pause" id="S7|GUf2]6iOG.tUsyS;u"><value name="pause"><shadow type="timePicker" id="}HVwj72xYv66r4u]^O-]"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="TrL5;,T?=5#`~7@vAYb_" x="192" y="0"/><block type="device_button_selected_event" id="^8x6Gf`{hpZ(0thz*[}7" x="1081" y="58"><field name="NAME">Button.AB</field><value name="eventType"><shadow type="control_button_event_value_id" id="lyp*;^;O0j,MBRJNaL?X"><field name="id">ButtonEvent.Click</field></shadow></value><statement name="HANDLER"><block type="DrawRectangle" id="[{k`/4FC,S,_d+Wl!icm"><field name="Filled">DRAW_FILL.DRAW_EMPTY</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_1</field><value name="Xstart2"><shadow type="math_number_minmax" id="*,nilyy}H`.N,!hV?q85"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="Ystart2"><shadow type="math_number_minmax" id="yRknxN2TD6LZ2K)j!i9k"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">90</field></shadow></value><value name="Xend2"><shadow type="math_number_minmax" id="t9zC-dHg9pD=yj6ET~~!"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">150</field></shadow></value><value name="Yend2"><shadow type="math_number_minmax" id="5MX$Uvr4Tt4#=mJyymef"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">118</field></shadow></value><value name="Color"><shadow type="math_number_minmax" id="0zXP_wV./!qm,vF4+tf$"><mutation min="0" max="65535" label="Number" precision="0"/><field name="SLIDER">5285</field></shadow></value><next><block type="LCD1IN8_setColorScheme" id="Z8Z]V@F6PpuIRKu-SoTT"><field name="cScheme">ColorScheme.RGB</field></block></next></block></statement></block><block type="device_button_selected_event" id="Q}#F-ghT6VH%k53;9Tf[" x="739" y="86"><field name="NAME">Button.B</field><value name="eventType"><shadow type="control_button_event_value_id" id=".agC,Qkv^Cyi9j`?;/?="><field name="id">ButtonEvent.Click</field></shadow></value><statement name="HANDLER"><block type="DrawPoint" id="-25shYZUM0,LbvD.;4mq"><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_4</field><value name="Xpoint"><shadow type="math_number_minmax" id="Y$iQx{tb?YVYv8E)~p9g"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">20</field></shadow></value><value name="Ypoint"><shadow type="math_number_minmax" id="5tBw[JD~z9g}oAa[v,29"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">20</field></shadow></value><value name="Color"><shadow type="math_number_minmax" id="~Gu,5@*C~,1-=.4Af;8b"><mutation min="0" max="65535" label="Number" precision="0"/><field name="SLIDER">57607</field></shadow></value><next><block type="DrawCircle" id="(L?cKJY}jdUcmLb#84Au"><field name="Draw_Fill">DRAW_FILL.DRAW_EMPTY</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_2</field><value name="X_Center"><shadow type="math_number_minmax" id="Sh:TstIl?dR8{Sc0]N?d"><mutation min="1" max="160" label="Number" precision="0"/><field name="SLIDER">80</field></shadow></value><value name="Y_Center"><shadow type="math_number_minmax" id=";z(-+:_:@-G/Q.fjkb8x"><mutation min="1" max="128" label="Number" precision="0"/><field name="SLIDER">60</field></shadow></value><value name="Radius"><shadow type="math_number_minmax" id="$RR7vrqU=9;;GN=,bR`G"><mutation min="0" max="160" label="Number" precision="0"/><field name="SLIDER">20</field></shadow></value><value name="Color"><shadow type="math_number_minmax" id="60m8YID(7H{R0IT=~wHl"><mutation min="0" max="65535" label="Number" precision="0"/><field name="SLIDER">36467</field></shadow></value><next><block type="LCD1IN8_setDisplayInverseMode" id="Bw(4C3RxDq;?q0/Ov[y2"><value name="tftMode"><shadow type="toggleOnOff" id="{]W`Au;Zn?/tYz3qhVfS"><field name="on">false</field></shadow></value></block></next></block></next></block></statement></block><block type="device_button_selected_event" id="^[/Nc5t7jZQxnl`6YH$Z" x="281" y="232"><field name="NAME">Button.A</field><value name="eventType"><shadow type="control_button_event_value_id" id="ZhI-gQv?*Y=M?W4z!Omh"><field name="id">ButtonEvent.Click</field></shadow></value><statement name="HANDLER"><block type="DisString" id="O+^CU^YD!s/$Ylf]29=0"><field name="Color">COLOR.WHITE</field><value name="Xchar"><shadow type="math_number_minmax" id="!sqtH;l94kkmD[0EV.%6"><mutation min="1" max="160" label="Xchar" precision="0"/><field name="SLIDER">30</field></shadow></value><value name="Ychar"><shadow type="math_number_minmax" id="V9$szzLg90(te!RJN`C="><mutation min="1" max="128" label="Ychar" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="ch"><shadow type="text" id="l^5BWh[PJNCkIPY]8qxz"><field name="TEXT">ABCabcXYZxyz123456789.,-&()/#+*:;_~}!</field></shadow></value><next><block type="DisNumber" id="h~S@@kQl!|qgG0AyRj8s"><field name="Color">COLOR.WHITE</field><value name="Xnum"><shadow type="math_number_minmax" id="UBBTJuyf+`JCVV^7f2FY"><mutation min="1" max="160" label="Xnum" precision="0"/><field name="SLIDER">10</field></shadow></value><value name="Ynum"><shadow type="math_number_minmax" id="RGMrY.+yqMu}Y^eu.ax%"><mutation min="1" max="128" label="Ynum" precision="0"/><field name="SLIDER">70</field></shadow></value><value name="num"><shadow type="math_number" id="%EJiapqrgp+5^W[7%p.n"><field name="NUM">1835245</field></shadow></value><next><block type="LCD1IN8_setDisplayInverseMode" id="sWir,u`7n;ZF-SB8Jb_v"><value name="tftMode"><shadow type="toggleOnOff" id="SrS^]u?ghx/Bwzr/~]oR"><field name="on">true</field></shadow></value><next><block type="LCD1IN8_setColorScheme" id="0B+_,`3[(UI(4HJt[q)W"><field name="cScheme">ColorScheme.BGR</field></block></next></block></next></block></next></block></statement></block></xml>