This repository has been archived by the owner on Jul 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from IcingTomato/master
Add KEY
- Loading branch information
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
|
||
.DS_Store | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"components":[{"id":"____screen","createTime":1656383690704,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","size":0,"type":"screen"},{"id":"____buttonA","createTime":1656383690704,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1656383690704,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1656383690704,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"rt7!u&oL*rG5zv8M","createTime":1656384480133,"isCoreInk":false,"isPaper":false,"name":"title0","x":0,"y":0,"width":320,"height":20,"color":"#ff0000","backgroundColor":"#cccc01","text":"KEY & LIMIT","textOffset":"120","font":"lcd.FONT_Default","type":"title","layer":5},{"id":"4*m9VbEq_9qQ1LXG","createTime":1656384486750,"name":"circle0","x":95,"y":80,"radius":20,"borderColor":"#FFFFFF","backgroundColor":"#FFFFFF","type":"circle","layer":6},{"id":"eXCL4Cud_ffaHWWB","createTime":1656384501086,"name":"rectangle0","x":199,"y":60,"width":40,"height":40,"borderColor":"#FFFFFF","backgroundColor":"#FFFFFF","type":"rectangle","layer":7},{"id":"2SP=t95@S#gxLv&!","createTime":1656384527762,"isCoreTwo":false,"isPaper":false,"name":"label0","x":75,"y":109,"color":"#FFFFFF","text":"LIMIT","font":"lcd.FONT_Ubuntu","rotation":0,"type":"label","layer":8},{"id":"zbQo&iS-BvxevEfh","createTime":1656384527762,"isCoreTwo":false,"isPaper":false,"name":"label1","x":204,"y":109,"color":"#FFFFFF","text":"KEY","font":"lcd.FONT_Ubuntu","rotation":0,"type":"label","layer":9},{"id":"L4wp8yAN8fz1!^un","createTime":1656384527762,"isCoreTwo":false,"isPaper":false,"name":"label2","x":53,"y":219,"color":"#FFFFFF","text":"RED","font":"lcd.FONT_Ubuntu","rotation":0,"type":"label","layer":10},{"id":"V`g_5wP!5diQ0ngO","createTime":1656384527762,"isCoreTwo":false,"isPaper":false,"name":"label3","x":134,"y":219,"color":"#FFFFFF","text":"GREEN","font":"lcd.FONT_Ubuntu","rotation":0,"type":"label","layer":11},{"id":"bx4WVt4qXN%WyVJI","createTime":1656384527762,"isCoreTwo":false,"isPaper":false,"name":"label4","x":229,"y":219,"color":"#FFFFFF","text":"BLUE","font":"lcd.FONT_Ubuntu","rotation":0,"type":"label","layer":12}],"type":"core","versions":"Beta","units":[{"id":"#4seX+w5eUdjJ2*A","createTime":1658364599969,"type":"key","name":"key_0","port":"B","default":["A","B","C","D","Custom"],"user_port":["21","22"],"icon":"key.png"}],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><next><block type=\"unit_key_set_color\" id=\"/zp.,M#tqZ2jngd@EOpK\"><field name=\"VARNAME\">key_0</field><field name=\"COLOR\">#ffff00</field><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"r%a)A@Z};BG]3!+%a32u\"><field name=\"NUM\" max=\"255\" step=\"1\">50</field></shadow></value><next><block type=\"basic_on_loop\" id=\"Z/vV9^*~70XHBO}%MXo1\"><statement name=\"LOOP\"><block type=\"controls_if\" id=\"`^d%w~gc$l@=nSeg!~BU\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"unit_key_get_switch_status\" id=\"9n,^6r!fa,=ls--N5XWy\"><field name=\"VARNAME\">key_0</field></block></value><statement name=\"DO0\"><block type=\"rect_set_bgcolor\" id=\"-9n-32.=lhlm=]5d~FF.\"><field name=\"COMPONENT\">rectangle0</field><field name=\"COLOR\">#33cc00</field></block></statement><statement name=\"ELSE\"><block type=\"rect_set_bgcolor\" id=\"dQepv]97{^SHM58z9]7w\"><field name=\"COMPONENT\">rectangle0</field><field name=\"COLOR\">#ff0000</field></block></statement></block></statement></block></next></block></next></block><block type=\"button_callback\" id=\"yOwjb~=l;tgdpE7Cz?~S\" x=\"50\" y=\"410\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"unit_key_set_color\" id=\"v[tjQQ)SS?VJ]EHo6beC\"><field name=\"VARNAME\">key_0</field><field name=\"COLOR\">#ff0000</field><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"d@MKS[cV9(L+~)*Dm?Ux\"><field name=\"NUM\" max=\"255\" step=\"1\">50</field></shadow></value></block></statement></block><block type=\"button_callback\" id=\"_:*EMwQN?edsyc:[I.mS\" x=\"50\" y=\"530\"><field name=\"BUTTON\">B</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"unit_key_set_color\" id=\"Q0|df8~5)+%u/3*%`lu9\"><field name=\"VARNAME\">key_0</field><field name=\"COLOR\">#33cc00</field><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"YniG0v2Ne~n,|]fNl93K\"><field name=\"NUM\" max=\"255\" step=\"1\">50</field></shadow></value></block></statement></block><block type=\"button_callback\" id=\"v?7=z]GNAzfwp6vigk[6\" x=\"50\" y=\"650\"><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"unit_key_set_color\" id=\"]H.BLG(}w.jn`oXZ}GX^\"><field name=\"VARNAME\">key_0</field><field name=\"COLOR\">#000099</field><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"PDXQJ7McPd,~4EU^N|Kj\"><field name=\"NUM\" max=\"255\" step=\"1\">50</field></shadow></value></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1658364599970,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"liRTNjI6lX54pycW99zcizxpw9rvTN1Y","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":["machine"],"cbIdList_":[],"eventCBIdList_":[],"uuid":"54e66842-07fe-4289-95d5-1a837395a83b"} |