Files
mixly3/boards/default/micropython_esp32s3/examples/MixGo Sant/学期7/2-3-1 智能药盒-单次提醒.mix

1 line
7.7 KiB
XML

<xml version="Mixly 3.0 rc0" board="Python ESP32-S3@元控自强" shown="block"><block type="onboard_RTC_settime_string" id="$CI6N,.xI1X^3k+-KmoU" x="-1263" y="-379"><value name="CONTENT"><shadow type="tuple_input" id="fRCDF[3nFwCp+|2s3w~H"><field name="CONTENT">2025,5,27,20,34,4</field></shadow></value><next><block type="variables_set" id="v;SEbYN8c*^AI8DQ`-S:"><field name="VAR">每天吃药时间</field><value name="VALUE"><block type="tuple_create_with_text_return" id="kS-QIg`Bs]2jOF2_=J5o"><field name="TEXT">20,34,14</field></block></value><next><block type="controls_whileUntil" id="#v.8v9p{5m#Fk`,Kx@}k"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="(_wEds|6{Ncow]@-k3/I"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id=",$+kmRZP/p6As2Gi1[zD"><field name="VAR">mytup</field><value name="VALUE"><block type="onboard_RTC_get_time" id="pZ:7#KWa=:NcBHOk?[EO"></block></value><next><block type="display_show_image_or_string_delay" id="iwK{k?{Qh|(8ksa0zjSO"><field name="center">True</field><value name="data"><shadow type="text" id="ELRS}R~3fY;d}^6/K62^"><field name="TEXT">Mixly</field></shadow><block type="text_format_noreturn" id="!Wy#pc,+kQ281@e3c^Oh" inline="false"><mutation items="3"></mutation><value name="VAR"><shadow type="text" id="l6wcT+2wt4u4Qymn|b2_"><field name="TEXT">{}:{}:{}</field></shadow></value><value name="ADD0"><block type="number_to_text" id="3?FWWR03*+MS)Q6)gXk["><value name="VAR"><shadow type="variables_get" id="cU=7h$?uJB+]t8kF(F#J"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="B{5c[Ch)cYtV78rldt`t"><value name="TUP"><shadow type="variables_get" id="5$Nd*ba.!a_J*0oLJ8zd"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="pCIA8kZ,+8E$?v9/6pp^"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="ADD1"><block type="number_to_text" id="[Z5z6U0=_M=stD@oOG_|"><value name="VAR"><shadow type="variables_get" id="7HW8Y@!^rqQIGUn/k_Ud"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="fq_D~Ui,Z[R=Ft4NBU,s"><value name="TUP"><shadow type="variables_get" id="sjQJ7,W_y=:!y8k+ju$+"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="$d,iuEgEjd-Z|DSU!60#"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="ADD2"><block type="number_to_text" id="~W:IB`q)562*qK$4}z.="><value name="VAR"><shadow type="variables_get" id="#C9VV+TvzRn+]p_P:gD*"><field name="VAR">x</field></shadow><block type="tuple_getIndex" id="1/q_waIAqJ|iaF`E6tl)"><value name="TUP"><shadow type="variables_get" id="wiUcY2tmMI`h`F.PyJYB"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id=",1]H=aF6cs`U4HfK95p)"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value><value name="space"><shadow type="math_number" id="]oGZX7)XirD=X$93_f:L"><field name="NUM">0</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id="@N_Z.Jb{iXVdP2^BC[s?"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_delay_new" id=";$fVg8k3C$,AG(a;oHQ)"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="/n+]d9gZ#ji+[YNCwIWy"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="pwr6UA5yrQSCX}_:P+@*"><value name="IF0"><block type="logic_operation" id="f~(u]KSB^GM=/Ai[w;~P" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="$vi4r40Q4f@~-]$@+j3k"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="P5($FCU6Bg+vik,]ZFm{"><value name="TUP"><shadow type="variables_get" id="BkNesL]-RvQw:YWHzDv["><field name="VAR">mytup</field></shadow><block type="variables_get" id="lZIFJ5+#bihp/0H3)pnB"><field name="VAR">闹铃时间</field></block></value><value name="AT"><shadow type="math_number" id="}(v^xPmt8K=Uleem?vF,"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="0D54ymrKy3sJa^fpV6Ac"><value name="TUP"><shadow type="variables_get" id="DT*-!8|Z:~(sbuTv!5uM"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="Jpwlm!K^t)rRza[T2+t)"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><block type="logic_operation" id="*H2(t|J{p6(u+AgBAQ-9" inline="false"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="t:F-cL,8]47WT$E27(#C"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="]$_jDYa+fD#azwNw7Ncz"><value name="TUP"><shadow type="variables_get" id="3IN$~3^LmPffB?EtOl}E"><field name="VAR">mytup</field></shadow><block type="variables_get" id="_fm*DphyB?BLiP|-4JiS"><field name="VAR">闹铃时间</field></block></value><value name="AT"><shadow type="math_number" id="OW!tVz_8{WCwUhOkXo^]"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="hy`F:;SnLfKh^Ibj8BE4"><value name="TUP"><shadow type="variables_get" id="AwIESZ0H@?i!mD|xyQJl"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="9fX`wdP_-4Kt|FzkXW$q"><field name="NUM">4</field></shadow></value></block></value></block></value><value name="B"><block type="logic_compare" id="bgncmtF2/:@6MTi;_8a!"><field name="OP">EQ</field><value name="A"><block type="tuple_getIndex" id="vp+=KZkg9M[dRPhsJe+V"><value name="TUP"><shadow type="variables_get" id="L4Ptz0fGFcnsmjYiO8Bq"><field name="VAR">mytup</field></shadow><block type="variables_get" id="yUt1I5-QdopyvOn~xirl"><field name="VAR">闹铃时间</field></block></value><value name="AT"><shadow type="math_number" id="^C+^x:Ib7/(B+r34?jrq"><field name="NUM">2</field></shadow></value></block></value><value name="B"><block type="tuple_getIndex" id="Duk0dUL0S{Qg:eZtMZ;P"><value name="TUP"><shadow type="variables_get" id="fU9rd7()C7hzZgk,O.eU"><field name="VAR">mytup</field></shadow></value><value name="AT"><shadow type="math_number" id="5`o@gSDF).@U{Z@Xuak0"><field name="NUM">5</field></shadow></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="display_show_image" id="p(9sbGp$3on|T|ANiTh,"><value name="data"><shadow type="pins_builtinimg" id="auw.S4}`:93!*^pV(KQ8"><field name="PIN">object_picture.Lightning</field></shadow></value><value name="boolean"><shadow type="logic_boolean" id=")f9n|bW4.F@ZUGU=N3mU"><field name="BOOL">TRUE</field></shadow></value><next><block type="esp32_onboard_music_play_list" id="Sq234NhUYt8ZV8P=inyh"><value name="LIST"><shadow type="pins_playlist" id="*vGL6)hy+|4iA!eJCC1`"><field name="PIN">onboard_music.DADADADUM</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IHJ0Y3RpbWUKaW1wb3J0IHRpbWUKZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX3RmdApmcm9tIG9iamVjdF9waWN0dXJlIGltcG9ydCBMaWdodG5pbmcKZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX211c2ljCgpydGN0aW1lLnNldHRpbWUoKDIwMjUsNSwyNywyMCwzNCw0KSkK5q+P5aSp5ZCD6I2v5pe26Ze0ID0gKDIwLDM0LDE0KQp3aGlsZSBUcnVlOgogICAgbXl0dXAgPSB0aW1lLmxvY2FsdGltZSgpCiAgICBvbmJvYXJkX3RmdC5zaG93cygne306e306e30nLmZvcm1hdChzdHIobXl0dXBbM10pLCBzdHIobXl0dXBbNF0pLCBzdHIobXl0dXBbNV0pKSwgc3BhY2U9MCwgY2VudGVyPVRydWUsc3luYz1UcnVlKQogICAgdGltZS5zbGVlcCgxKQogICAgaWYg6Ze56ZOD5pe26Ze0WzBdID09IG15dHVwWzNdIGFuZCAo6Ze56ZOD5pe26Ze0WzFdID09IG15dHVwWzRdIGFuZCDpl7npk4Pml7bpl7RbMl0gPT0gbXl0dXBbNV0pOgogICAgICAgIG9uYm9hcmRfdGZ0LmltYWdlKExpZ2h0bmluZywgY29sb3I9MHhmZmZmLHN5bmM9VHJ1ZSkKICAgICAgICBvbmJvYXJkX211c2ljLnBsYXkob25ib2FyZF9tdXNpYy5EQURBREFEVU0pCg==</code>