-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstopwatch.m5f
More file actions
1 lines (1 loc) · 6.2 KB
/
Copy pathstopwatch.m5f
File metadata and controls
1 lines (1 loc) · 6.2 KB
1
{"components":[{"id":"_coretwoscreen","createTime":1610728752009,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#FFFFFF","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1610728752009,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1610728752009,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1610728752009,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"Vc+#rg6R9=3`z+x=","createTime":1610728779414,"isCoreTwo":true,"name":"seconds","x":134,"y":21,"color":"#000","text":"00","font":"FONT_MONT_48","rotation":0,"type":"label","layer":4},{"id":"fBhtNBho#`m+MCxB","createTime":1610728791405,"name":"start_stop","x":123,"y":96,"width":70,"height":30,"r":50,"text":"start/stop","font":"FONT_MONT_14","color":"#000000","borderColor":"#01a2b1","backgroundColor":"#FFFFFF","type":"touch_button","layer":5},{"id":"L&m4aH&Pgdqr2%dX","createTime":1610728799819,"name":"reset","x":125,"y":177,"width":70,"height":30,"r":50,"text":"reset","font":"FONT_MONT_14","color":"#000000","borderColor":"#01a2b1","backgroundColor":"#FFFFFF","type":"touch_button","layer":6}],"type":"core2","versions":"Beta","units":[],"hats":[],"blockly":"<variables><variable id=\";~kisxwH#my@V-u9VwIy\">start_stop_count</variable><variable id=\"A[ep-(nOQZejLyHkeFgl\">resetcount</variable><variable id=\"+/XE#JKM~|+^0.Oa@Q.h\">sec</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><next><block type=\"variables_set\" id=\"G6WmJ~nNf#)[UFIJj^rp\"><field name=\"VAR\" id=\"+/XE#JKM~|+^0.Oa@Q.h\">sec</field><value name=\"VALUE\"><block type=\"math_number\" id=\"$+Ai5?^}K.gyzJ}COm//\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_set\" id=\"ube6,uE4pG%!z3U@kBjp\"><field name=\"VAR\" id=\";~kisxwH#my@V-u9VwIy\">start_stop_count</field><value name=\"VALUE\"><block type=\"math_number\" id=\"IlHc}ZVcONRg.`81#Ux0\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_set\" id=\"PX1^yhL|_nK+%O:CJte)\"><field name=\"VAR\" id=\"A[ep-(nOQZejLyHkeFgl\">resetcount</field><value name=\"VALUE\"><block type=\"math_number\" id=\"{V+rf%~=2y`ma!2Juu^.\"><field name=\"NUM\">0</field></block></value><next><block type=\"basic_on_loop\" id=\"PAJZv{kT-W$brlE8h(A@\"><statement name=\"LOOP\"><block type=\"controls_if\" id=\"{e_yF2]N`J22P5x=zwMc\"><value name=\"IF0\"><block type=\"math_number_property\" id=\"P1_;D3nV]s0?M2!C1rz[\"><mutation divisor_input=\"false\"></mutation><field name=\"PROPERTY\">ODD</field><value name=\"NUMBER_TO_CHECK\"><block type=\"variables_get\" id=\"pwh]83a7kN^m.=[{~FcA\"><field name=\"VAR\" id=\";~kisxwH#my@V-u9VwIy\">start_stop_count</field></block></value></block></value><statement name=\"DO0\"><block type=\"math_change\" id=\"3budOqfYvo;x#ZEK{{U|\"><field name=\"VAR\" id=\"+/XE#JKM~|+^0.Oa@Q.h\">sec</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"NMOx5OIhV4P_EOizAM83\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"variables_set\" id=\"=8u@1vZ{REP`Vf3h(E}B\"><field name=\"VAR\" id=\"A[ep-(nOQZejLyHkeFgl\">resetcount</field><value name=\"VALUE\"><block type=\"math_number\" id=\"IyC9{12~R|uJz{7}Tj$a\"><field name=\"NUM\">0</field></block></value><next><block type=\"timer_delay\" id=\"o|Assb)a`j3*vu8$[|_j\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"[(-]v{j4_EK,$(B!td!5\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></statement><next><block type=\"controls_if\" id=\"h@tT}t$=xIoKLiXcuZk}\"><value name=\"IF0\"><block type=\"math_number_property\" id=\"btT2haBBS7(z$1{vQT0w\"><mutation divisor_input=\"false\"></mutation><field name=\"PROPERTY\">ODD</field><value name=\"NUMBER_TO_CHECK\"><block type=\"variables_get\" id=\"l=QI2h|2qPrd.-0$+VH7\"><field name=\"VAR\" id=\"A[ep-(nOQZejLyHkeFgl\">resetcount</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"M9HK}(o^Yh-2$af_z5hB\"><field name=\"VAR\" id=\";~kisxwH#my@V-u9VwIy\">start_stop_count</field><value name=\"VALUE\"><block type=\"math_number\" id=\"4wBtTcmH)J,ct2BI}$5M\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_set\" id=\"t:Y;L|.;ik^y8X|9,$m@\"><field name=\"VAR\" id=\"+/XE#JKM~|+^0.Oa@Q.h\">sec</field><value name=\"VALUE\"><block type=\"math_number\" id=\"pPb@)v58esG)n9W;qf])\"><field name=\"NUM\">0</field></block></value><next><block type=\"timer_delay\" id=\"{(E[NCiq+ivmq9GEZ!ID\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"qZ/U[{6%0:AdT(+%+ou-\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></statement><next><block type=\"label_set_text\" id=\"g1#H.B%M3Sw7tw*[?Hko\"><field name=\"COMPONENT\">seconds</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"E5FWYdaH$!aeyF34`0+S\"><field name=\"VAR\" id=\"+/XE#JKM~|+^0.Oa@Q.h\">sec</field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block><block type=\"button_set_cb\" id=\".X^rO^`Pp-0;i,3p!bE[\" x=\"350\" y=\"70\"><field name=\"COMPONENT\">start_stop</field><field name=\"EVENT\">pressed</field><statement name=\"FUNC\"><block type=\"math_change\" id=\";aB^8P]VWO#5MU7n@J~a\"><field name=\"VAR\" id=\";~kisxwH#my@V-u9VwIy\">start_stop_count</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"3sdlsOyQe#}G5RYG[Wka\"><field name=\"NUM\">1</field></shadow></value></block></statement></block><block type=\"button_set_cb\" id=\"::L0b5+%^V+a!=foOI8P\" x=\"350\" y=\"230\"><field name=\"COMPONENT\">reset</field><field name=\"EVENT\">pressed</field><statement name=\"FUNC\"><block type=\"math_change\" id=\".H3XwDNr-B`X8-TR9||a\"><field name=\"VAR\" id=\"A[ep-(nOQZejLyHkeFgl\">resetcount</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"QWN/Ab%[kQlxQC%TB,_v\"><field name=\"NUM\">1</field></shadow></value></block></statement></block>","Blockly.Remotes":[],"modules":[]}