diff --git a/docs/assets/css/main-min.css b/docs/assets/css/main-min.css index a4f2aabb..9ec7dc48 100644 --- a/docs/assets/css/main-min.css +++ b/docs/assets/css/main-min.css @@ -1 +1 @@ -:root{--theme-color:hsl(204,90%,45%)}@font-face{font-family:Montserrat;font-style:normal;src:url("https://static-cdn.m5stack.com/image/product_jpg/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2")}*{font-family:Montserrat}a{text-decoration:none !important;color:#007bff}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#pc_anchor{position:fixed;top:50%;left:50px;transform:translateY(-50%);border-radius:10px;overflow:hidden;box-shadow:0 1px 20px 1px #e6e6e6;z-index:99}#pc_anchor .el-submenu .el-menu-item{min-width:195px}#pc_anchor .el-menu{border:0}#pc_anchor .el-menu .el-menu-item-group__title{background-color:#ececee}#pc_anchor .el-menu .el-menu-item span,.el-submenu__title span{display:inline-block;padding-left:10px;width:70%;overflow:hidden}#pc_anchor img{height:30px}@media screen and (max-width:1460px){#pc_anchor{left:20px}}@media screen and (max-width:1300px){#pc_anchor{left:5px}#pc_anchor .el-menu-vertical-demo{width:210px}}@media screen and (max-width:970px){#pc_anchor{left:-45px}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:210px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:150;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}.markdown-section{max-width:70%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="index.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="en/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white;box-shadow:1px 1px 20px 0 #f7f7f7a1}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}.markdown-section{max-width:100% !important}}.item-title{white-space:nowrap;text-align:center;margin-top:0 !important;margin-bottom:28px !important}.item a{color:black;text-decoration:none}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.28);color:#fff;opacity:0}.mask h3{text-align:center}.product_page .item:hover{transform:scale(1.3);transition:all .2s ease;z-index:31 !important;box-shadow:0 0 10px #6ab2ff}.product_page .item:hover .quickstart_btn{display:block}.mask-btn1{border:0;width:90px;background-color:#007bffc7;color:white;border-radius:10px;height:19px}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.product_page{margin-left:60px;margin-top:100px}.search{position:fixed;z-index:105;top:80px;left:80px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:125px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px;z-index:2000}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}@media screen and (max-width:768px){.dropdown{display:block}#pc_anchor{display:none !important}#mb_header{display:block}#pc_header{display:none}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;top:15px !important;left:50% !important;right:auto !important;transform:translateX(-50%)}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#ffa105e0;color:white;border-radius:1px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}@media screen and (max-width:1180px){#pc_header>a{display:none}.search{right:30px;left:auto}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px;width:200px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:300px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;transform:translateY(-50%);width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:50%;width:150px;height:150px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93);transform:translate(-50%,-50%)}.platform-item a:hover .platform-tag{transform:translate(-50%,-50%) scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box{margin-top:30px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;left:50%;top:105%;transform:translateX(-50%)}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center;z-index:40}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}[v-cloak]{display:none}#search_cover{z-index:100;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000087;overflow:scroll}#search_contant_box{margin:150px 15% 10% 15%;padding:50px 100px 50px 100px;background-color:#ffffffd6;overflow:scroll}#close_search{position:fixed;right:20%;font-size:30px;z-index:2000}@media screen and (max-width:768px){#search_contant_box{margin:0;padding:60px 20px 60px 20px;height:100%}#search_contant_box .el-tabs__header{margin-left:55px}#close_search{right:15px}}#product_result img{width:100%}.quickstart_btn{position:absolute;border:0;color:white;left:30px;bottom:38px;transform:scale(1);font-size:9px;display:none;bottom:6px}.box-card .el-tag{margin-top:5px;cursor:pointer}.nav-dropdown .dropdown-title{display:flex;justify-content:center;align-items:center}.logo{background-repeat:no-repeat;background-size:100% 100%}*{margin:0;padding:0;box-sizing:border-box}header li{list-style-type:none}.container img{width:100%;height:100%}a{text-decoration:none}button{border:0;background-color:transparent;outline:0;cursor:pointer}header{width:100%;height:50px;padding:0 360px;z-index:1000}@media screen and (max-width:1600px){header{width:100%;height:50px;padding:0 260px}}@media screen and (max-width:1400px){header{width:100%;height:50px;padding:0 220px}}.container{position:relative;width:100%;height:100%;display:flex;margin:0 auto;align-items:center;justify-content:flex-end}.logo{position:absolute;left:0;width:48px;height:41px}.shop-btn,.user-btn{width:24px;height:24px;margin-right:32px}.language-btn{width:60px;height:20px}.header-nav{width:auto;display:flex;flex-direction:row;justify-content:flex-end;font-size:14px;color:#434343;margin-right:32px;height:100%}.header-nav li{cursor:pointer;margin:0 0 0 32px;line-height:50px}.nav-dropdown{position:fixed;top:50px;left:0;width:100%;height:180px;border-top:1px solid #f1f1f1;background-color:#fff;z-index:9999;overflow:hidden;animation:dropdown .1s ease;box-shadow:1px 2px 9px 0 #f9f9f9}.nav-dropdown .dropdown-container{width:62%;height:100%;display:flex;margin:0 auto;padding:25px 0}@media screen and (max-width:1400px){.nav-dropdown .dropdown-container{width:80%;height:100%;display:flex;margin:0 auto;padding:25px 0}}.nav-dropdown .dropdown-title{width:282px;height:100%;font-size:16px;font-weight:400;color:#959595}.nav-dropdown .dropdown-content{flex:1;height:100%;border-left:1px solid #e5e5e5}@keyframes dropdown{0%{height:0}100%{height:"*"}}.dropdown-content-box{width:905px;display:flex;flex-wrap:wrap;padding:10px 10px 10px 50px}.header-nav a{color:#434343}.dropdown-item{display:flex;flex-direction:row;margin:10px 20px;width:100px;align-items:center}.dropdown-item div{width:30px;display:flex;justify-content:center;margin-right:15px}.dropdown-item img{height:30px;width:auto}.dropdown-item p{color:#959595;white-space:nowrap;font-size:1px;flex:1}.dropdown-category a{font-size:1;margin:0;padding:0}.dropdown-category{line-height:25px !important;padding-left:52px;margin:0 !important}.dropdown-item2{display:flex;flex-direction:row;width:160px;align-items:center;overflow:hidden}.dropdown-item2 p{color:#0064c2}.dropdown-category p{color:#959595}.dropdown-item2 img{height:30px;width:auto;margin-right:10px}.lang-clike{background-color:#282c34 !important;color:#40e498 !important}.lang-clike .function{color:#d5d687}.lang-clike .punctuation{color:#deb28d}.lang-clike .number,.lang-clike .boolean{color:#2eacd2}::-moz-selection{background:#2eacd2 !important;color:#fff;font-weight:900;font-size:32px}::selection{background:#2eacd2 !important;color:#fff;font-weight:900;font-size:32px}.markdown-section blockquote{background-color:#282c34;color:white}blockquote strong{color:white}.box-card-item{margin:0 10px 10px 0;display:inline-block} +:root{--theme-color:hsl(204,90%,45%)}@font-face{font-family:Montserrat;font-style:normal;src:url("https://static-cdn.m5stack.com/image/product_jpg/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2")}*{font-family:Montserrat}a{text-decoration:none !important;color:#007bff}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#pc_anchor{position:fixed;top:50%;left:50px;transform:translateY(-50%);border-radius:10px;overflow:hidden;box-shadow:0 1px 20px 1px #e6e6e6;z-index:99}#pc_anchor .el-submenu .el-menu-item{min-width:195px}#pc_anchor .el-menu{border:0}#pc_anchor .el-menu .el-menu-item-group__title{background-color:#ececee;display:none;}#pc_anchor .el-menu .el-menu-item span,.el-submenu__title span{display:inline-block;padding-left:10px;width:70%;overflow:hidden}#pc_anchor img{height:30px}@media screen and (max-width:1460px){#pc_anchor{left:20px}}@media screen and (max-width:1300px){#pc_anchor{left:5px}#pc_anchor .el-menu-vertical-demo{width:210px}}@media screen and (max-width:970px){#pc_anchor{left:-45px}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:210px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:150;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}.markdown-section{max-width:70%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="index.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="en/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white;box-shadow:1px 1px 20px 0 #f7f7f7a1}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}.markdown-section{max-width:100% !important}}.item-title{white-space:nowrap;text-align:center;margin-top:0 !important;margin-bottom:28px !important}.item a{color:black;text-decoration:none}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.28);color:#fff;opacity:0}.mask h3{text-align:center}.product_page .item:hover{transform:scale(1.3);transition:all .2s ease;z-index:31 !important;box-shadow:0 0 10px #6ab2ff}.product_page .item:hover .quickstart_btn{display:block}.mask-btn1{border:0;width:90px;background-color:#007bffc7;color:white;border-radius:10px;height:19px}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.product_page{margin-left:60px;margin-top:100px}.search{position:fixed;z-index:105;top:80px;left:80px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:125px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px;z-index:2000}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}@media screen and (max-width:768px){.dropdown{display:block}#pc_anchor{display:none !important}#mb_header{display:block}#pc_header{display:none}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;top:15px !important;left:50% !important;right:auto !important;transform:translateX(-50%)}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#ffa105e0;color:white;border-radius:1px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}@media screen and (max-width:1180px){#pc_header>a{display:none}.search{right:30px;left:auto}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px;width:200px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:300px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;transform:translateY(-50%);width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:50%;width:150px;height:150px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93);transform:translate(-50%,-50%)}.platform-item a:hover .platform-tag{transform:translate(-50%,-50%) scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box{margin-top:30px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;left:50%;top:105%;transform:translateX(-50%)}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center;z-index:40}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}[v-cloak]{display:none}#search_cover{z-index:100;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000087;overflow:scroll}#search_contant_box{margin:150px 15% 10% 15%;padding:50px 100px 50px 100px;background-color:#ffffffd6;overflow:scroll}#close_search{position:fixed;right:20%;font-size:30px;z-index:2000}@media screen and (max-width:768px){#search_contant_box{margin:0;padding:60px 20px 60px 20px;height:100%}#search_contant_box .el-tabs__header{margin-left:55px}#close_search{right:15px}}#product_result img{width:100%}.quickstart_btn{position:absolute;border:0;color:white;left:30px;bottom:38px;transform:scale(1);font-size:9px;display:none;bottom:6px}.box-card .el-tag{margin-top:5px;cursor:pointer}.nav-dropdown .dropdown-title{display:flex;justify-content:center;align-items:center}.logo{background-repeat:no-repeat;background-size:100% 100%}*{margin:0;padding:0;box-sizing:border-box}header li{list-style-type:none}.container img{width:100%;height:100%}a{text-decoration:none}button{border:0;background-color:transparent;outline:0;cursor:pointer}header{width:100%;height:50px;padding:0 360px;z-index:1000}@media screen and (max-width:1600px){header{width:100%;height:50px;padding:0 260px}}@media screen and (max-width:1400px){header{width:100%;height:50px;padding:0 220px}}.container{position:relative;width:100%;height:100%;display:flex;margin:0 auto;align-items:center;justify-content:flex-end}.logo{position:absolute;left:0;width:48px;height:41px}.shop-btn,.user-btn{width:24px;height:24px;margin-right:32px}.language-btn{width:60px;height:20px}.header-nav{width:auto;display:flex;flex-direction:row;justify-content:flex-end;font-size:14px;color:#434343;margin-right:32px;height:100%}.header-nav li{cursor:pointer;margin:0 0 0 32px;line-height:50px}.nav-dropdown{position:fixed;top:50px;left:0;width:100%;height:180px;border-top:1px solid #f1f1f1;background-color:#fff;z-index:9999;overflow:hidden;animation:dropdown .1s ease;box-shadow:1px 2px 9px 0 #f9f9f9}.nav-dropdown .dropdown-container{width:62%;height:100%;display:flex;margin:0 auto;padding:25px 0}@media screen and (max-width:1400px){.nav-dropdown .dropdown-container{width:80%;height:100%;display:flex;margin:0 auto;padding:25px 0}}.nav-dropdown .dropdown-title{width:282px;height:100%;font-size:16px;font-weight:400;color:#959595}.nav-dropdown .dropdown-content{flex:1;height:100%;border-left:1px solid #e5e5e5}@keyframes dropdown{0%{height:0}100%{height:"*"}}.dropdown-content-box{width:905px;display:flex;flex-wrap:wrap;padding:10px 10px 10px 50px}.header-nav a{color:#434343}.dropdown-item{display:flex;flex-direction:row;margin:10px 20px;width:100px;align-items:center}.dropdown-item div{width:30px;display:flex;justify-content:center;margin-right:15px}.dropdown-item img{height:30px;width:auto}.dropdown-item p{color:#959595;white-space:nowrap;font-size:1px;flex:1}.dropdown-category a{font-size:1;margin:0;padding:0}.dropdown-category{line-height:25px !important;padding-left:52px;margin:0 !important}.dropdown-item2{display:flex;flex-direction:row;width:160px;align-items:center;overflow:hidden}.dropdown-item2 p{color:#0064c2}.dropdown-category p{color:#959595}.dropdown-item2 img{height:30px;width:auto;margin-right:10px}.lang-clike{background-color:#282c34 !important;color:#40e498 !important}.lang-clike .function{color:#d5d687}.lang-clike .punctuation{color:#deb28d}.lang-clike .number,.lang-clike .boolean{color:#2eacd2}::-moz-selection{background:#2eacd2 !important;color:#fff;font-weight:900;font-size:32px}::selection{background:#2eacd2 !important;color:#fff;font-weight:900;font-size:32px}.markdown-section blockquote{background-color:#282c34;color:white}blockquote strong{color:white}.box-card-item{margin:0 10px 10px 0;display:inline-block} diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 65830fae..0f71de69 100755 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -58,6 +58,7 @@ img { #pc_anchor .el-menu .el-menu-item-group__title { background-color: #ececee; + display: none; } #pc_anchor .el-menu .el-menu-item span,.el-submenu__title span { diff --git a/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_01.webp b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_01.webp new file mode 100644 index 00000000..3e4b5e27 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_01.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_02.webp b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_02.webp new file mode 100644 index 00000000..df4eac50 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_02.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_03.webp b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_03.webp new file mode 100644 index 00000000..740cdc94 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atom_socket/atom_socket_03.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_01.webp b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_01.webp new file mode 100644 index 00000000..a9dc0070 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_01.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_02.webp b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_02.webp new file mode 100644 index 00000000..5e2f2bf7 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_02.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_03.webp b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_03.webp new file mode 100644 index 00000000..a84c53c0 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_03.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_04.webp b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_04.webp new file mode 100644 index 00000000..f39375ea Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan470/com.lorawan470_04.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_03.webp b/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_03.webp new file mode 100644 index 00000000..adb3737d Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_03.webp differ diff --git a/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_04.webp b/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_04.webp new file mode 100644 index 00000000..0582ae89 Binary files /dev/null and b/docs/assets/img/product_pics/module/com_lorawan915/com.lorawan915_04.webp differ diff --git a/docs/en/api/gpio.md b/docs/en/api/gpio.md index 94ebc19f..9e094ada 100644 --- a/docs/en/api/gpio.md +++ b/docs/en/api/gpio.md @@ -2,8 +2,6 @@ *Refer to Arduino API of [Arduino](http://www.arduino.cc)* -*For the sake of convenience, I will focus on things that are closely related to M5Stack* - *M5STACK PIN allocation:* | pin No | Name |allocation| @@ -92,7 +90,7 @@ Writes the state of the terminal. | Function argument |Type |Description | | --- | --- | --- | | pin | uint8 |pin No | -| val | uint8 |出力状態(0/1) | +| val | uint8 |(0/1) | **Function return value:** diff --git a/docs/en/atom/atom_socket.md b/docs/en/atom/atom_socket.md index 7c87c0c5..a9e15b0c 100644 --- a/docs/en/atom/atom_socket.md +++ b/docs/en/atom/atom_socket.md @@ -1,36 +1,36 @@ -# ATOM Socket +# ATOM Socket Kit (HLW8023) - JP&US -SKU:K052 +SKU:K055 -
+
## Description -**ATOM Socket** is a smart power socket adapted to ATOM main control. Built-in HLW8032 high-precision energy metering IC, can read the electrical parameters (line voltage, current, active power, apparent power and power factor) of the socket through serial communication. The external jack adopts Japanese standard specifications, and the internal integrated single-circuit relay (AC-220V@10A) is used to control the power on and off of the socket. With the ATOM main control integrated with WIFI&Bluetooth module, the power socket can be easily connected to the network for remote control And energy metering. The extra socket integrates HY2.0-4P interface, which can interact with external equipment (relay signal input, key signal output). +**ATOM Socket** is a smart power socket adapted to ATOM main control. Built-in HLW8032 high-precision energy metering IC, can read the electrical parameters (line voltage, current, active power, apparent power and power factor) of the socket through serial communication. The external jack adopts Japanese standard specifications, and the internal integrated single-circuit relay (AC-100~120V@10A) is used to control the power on and off of the socket. With the ATOM main control integrated with WIFI&Bluetooth module, the power socket can be easily connected to the network for remote control And energy metering. The extra socket integrates HY2.0-4P interface, which can interact with external equipment (relay signal input, key signal output). ## Product Features --Single relay control socket power on and off (220V@10A) --HLW8032 High Precision Energy Metering IC --Support voltage and current detection power calculation, within 1000:1 dynamic range: - -The measurement error of active power reaches 0.2% - -The effective current measurement error reaches 0.5% - -The effective voltage measurement error reaches 0.5% --UART communication (baud: 4800) --∑-Δ ADC, high-precision energy metering core --Japanese standard jack --HY2.0-4P external control interface +- Single relay control socket power on and off (100~120V@10A) +- HLW8032 High Precision Energy Metering IC +- Support voltage and current detection power calculation, within 1000:1 dynamic range: + - The measurement error of active power reaches 0.2% + - The effective current measurement error reaches 0.5% + - The effective voltage measurement error reaches 0.5% +- UART communication (baud: 4800) +- ∑-Δ ADC, high-precision energy metering core +- JP&US standard jack +- HY2.0-4P external control interface ## Includes --1x ATOM Socket --1x ATOM LITE +- 1x ATOM Socket +- 1x ATOM LITE ## Application --Metering socket --Smart WIFI socket --Smart home appliance control +- Metering socket +- Smart WIFI socket +- Smart home appliance control ## Specification @@ -49,7 +49,7 @@ Relay parameters - AC-110V@10A + AC-100~120V@10A Net weight @@ -69,14 +69,6 @@ ->Comparison of products of the same type in M5 system - - - < /tr> - - -
ProductJack standardPower measurement solutionCompatible equipmentCommunication method
AC SocketChina StandardNoneCORERS485
ATOM SocketJapanese standardHLW8032 energy measurement IC (serial communication)ATOMIO control relay /UART read energy information
- ## EasyLoader >EasyLoader is a simple and fast program burner, which has a built-in product-related case program, which can be burned to the main control through simple steps to perform a series of functional verification. @@ -94,7 +86,7 @@
- +

Case description:

Remotely control the ATOM Socket on and off the power supply, and monitor the power status

@@ -121,11 +113,11 @@ ## Example --[Arduino code example](https://github.com/m5stack/M5Atom/tree/master/examples/ATOM_BASE/ATOM_Socket) +- [Arduino code example](https://github.com/m5stack/M5Atom/tree/master/examples/ATOM_BASE/ATOM_Socket) diff --git a/docs/en/module/comx_lorawan915.md b/docs/en/module/comx_lorawan915.md index b781b038..d9f054e6 100644 --- a/docs/en/module/comx_lorawan915.md +++ b/docs/en/module/comx_lorawan915.md @@ -1,8 +1,8 @@ # COM.LoRaWAN915 -SKU:M031-C +SKU:M031-C3 -
+
## Description @@ -75,7 +75,7 @@ An external power supply is provided (5V-12V input can be adjusted by switching ## Related Links -- [COM.LoRaWAN915 AT Command Set](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/COM.LoRaWAN915.asr6501-asr6502-at-commands-introduction-v4.3.pdf) +- [COM.LoRaWAN915 AT Command Set](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/COM.LoRaWAN.Ra-07.asr6501-asr6502-at-commands-introduction-v4.3.pdf) - [LoRaWAN Regional Parameters](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/lorawantm_regional_parameters_v1.1rb_-_final.pdf) @@ -89,9 +89,15 @@ An external power supply is provided (5V-12V input can be adjusted by switching - [Arduino code example](https://github.com/m5stack/M5Atom/tree/master/examples/ATOM_BASE/ATOM_Socket) +## Video + + +
- - - - - -## RoverC - - -- ESP NOW - + \ No newline at end of file diff --git a/docs/zh_CN/module/comx_lorawan915.md b/docs/zh_CN/module/comx_lorawan915.md index 32065ced..a8b4c340 100644 --- a/docs/zh_CN/module/comx_lorawan915.md +++ b/docs/zh_CN/module/comx_lorawan915.md @@ -1,8 +1,8 @@ # COM.LoRaWAN915 -SKU:M031-C +SKU:M031-C3 -
+
## 描述 @@ -89,9 +89,15 @@ - [请点击此处获取Arduino示例程序](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/COM_LoRaWAN915) +## 相关视频 + + +