change HEX Unit Pic

This commit is contained in:
Gitshaoxiang
2020-03-04 10:56:31 +08:00
parent c661a31270
commit fec8cf7d48
11 changed files with 12 additions and 1165 deletions
+1 -1149
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

+4 -6
View File
@@ -1,8 +1,6 @@
# HEX {docsify-ignore-all}
<img src="assets/img/product_pics/unit/unit_hex_01.jpg" width="30%" height="30%">
<img src="assets\img\product_pics\unit\hex\unit_hex_01.webp" width="30%"><img <img src="assets\img\product_pics\unit\hex\unit_hex_02.webp" width="30%"><img src="assets\img\product_pics\unit\hex\unit_hex_03.webp" width="30%">
## Description
@@ -11,9 +9,7 @@
This is how LEDs layout in the panel. Pay attention to the sequence in your code.
<img src="assets/img/product_pics/unit/unit_hex_03.png">
<br>
<img src="assets/img/product_pics/unit/hex/unit_hex_04.jpg">
<img src="assets\img\product_pics\unit\hex\unit_hex_05.webp" width="50%">
## Product Features
@@ -131,6 +127,8 @@ void loop(){
<tr><td>HEX Unit</td><td> </td><td>HEX Pin</td><td>5V</td><td>GND</td></tr>
</table>
<img src="assets/img/product_pics/unit/hex/unit_hex_04.jpg" width="50%">
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/hex-neopixel-led-board';
+1 -1
View File
@@ -35,7 +35,7 @@
var quickstart_name="Quick Start"}}
if(purchase_link!="none"){$(".anchor-box").append('<a href='+purchase_link+' onclick="select(this)" target="view_window">'+purchase_icon+'<span style="padding: 8px 0px;">'+purchase_name+'</span>'+'</a>');}
if(quickstart_link!="none"){$(".anchor-box").append('<a href='+quickstart_link+' onclick="select(this)" target="view_window">'+quickstart_icon+'<span style="padding: 8px 0px;">'+quickstart_name+'</span>'+'</a>');}}}
function anchor_scroll(anchor_name,anchor_id,anchor_length){var offset=$("#"+anchor_id).offset().top+$("#"+anchor_id).height()-$(window).scrollTop();if((offset>100)&&(offset<($("#"+anchor_id).height()+600))){for(var i=0;i<anchor_length;i++){if(anchor_name==$(".anchor-box span").eq(i).html()){$(".anchor-box a").addClass("anchor-quiet");$(".anchor-box a").eq(i).removeClass("anchor-quiet");$(".anchor-box a").eq(i).addClass("anchor-active");return true}}}}
function anchor_scroll(anchor_name,anchor_id,anchor_length){var offset=$("#"+anchor_id).offset().top+$("#"+anchor_id).height()-$(window).scrollTop();if((offset>100)&&(offset<($("#"+anchor_id).height()+700))){for(var i=0;i<anchor_length;i++){if(anchor_name==$(".anchor-box span").eq(i).html()){$(".anchor-box a").addClass("anchor-quiet");$(".anchor-box a").eq(i).removeClass("anchor-quiet");$(".anchor-box a").eq(i).addClass("anchor-active");return true}}}}
var scrollFunc=function(e){e=e||window.event;var page_url=window.location.href;if((page_url.slice(-4)=="/en/")||(page_url.slice(-7)=="/zh_CN/")||(page_url.slice(-3)=="/#/")){var anchor_list=$(".product_page > div:gt(1)");}
else{var anchor_list=$("#main h2");}
for(var i=0;i<anchor_list.length;i++){if(anchor_scroll(anchor_list[i].id.toUpperCase(),anchor_list[i].id,anchor_list.length))break;}}
+1 -1
View File
@@ -124,7 +124,7 @@
{a:"/#/en/unit/laser-tx", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/laser_tx_01.jpg", p:"LASER-TX"},
//LED class
{a:"/#/en/unit/neopixel", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/M5GO_Unit_neopixel.jpg", p:"RGB LED"},
{a:"/#/en/unit/hex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_hex_01.jpg", p:"HEX"},
{a:"/#/en/unit/hex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_hex_01.webp", p:"HEX"},
{a:"/#/en/unit/rgb", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_rgb_01.png", p:"RGB"}
];
+1 -1
View File
@@ -414,7 +414,7 @@
function anchor_scroll(anchor_name,anchor_id,anchor_length){
var offset = $("#"+anchor_id).offset().top + $("#"+anchor_id).height() - $(window).scrollTop();
if((offset > 100)&&(offset < ($("#"+anchor_id).height()+600))){
if((offset > 100)&&(offset < ($("#"+anchor_id).height()+700))){
for (var i= 0; i< anchor_length; i++){
if( anchor_name == $(".anchor-box span").eq(i).html()){
$(".anchor-box a").addClass("anchor-quiet");
+1 -1
View File
@@ -125,7 +125,7 @@
{a:"/#/zh_CN/unit/laser-tx", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/laser_tx_01.jpg", p:"LASER-TX"},
//LED class
{a:"/#/zh_CN/unit/neopixel", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/M5GO_Unit_neopixel.jpg", p:"RGB LED"},
{a:"/#/zh_CN/unit/hex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_hex_01.jpg", p:"HEX"},
{a:"/#/zh_CN/unit/hex", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_hex_01.webp", p:"HEX"},
{a:"/#/zh_CN/unit/rgb", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_rgb_01.png", p:"RGB"}
];
+3 -6
View File
@@ -1,8 +1,6 @@
# HEX {docsify-ignore-all}
<img src="assets/img/product_pics/unit/unit_hex_01.jpg" width="30%" height="30%">
<img src="assets\img\product_pics\unit\hex\unit_hex_01.webp" width="30%"><img <img src="assets\img\product_pics\unit\hex\unit_hex_02.webp" width="30%"><img src="assets\img\product_pics\unit\hex\unit_hex_03.webp" width="30%">
## 描述
@@ -11,10 +9,8 @@
以下为HEX灯板中的LED布局排序方式
<img src="assets/img/product_pics/unit/unit_hex_03.png">
<img src="assets\img\product_pics\unit\hex\unit_hex_05.webp" width="50%">
<br>
<img src="assets/img/product_pics/unit/hex/unit_hex_04.jpg">
## 产品特性
@@ -136,6 +132,7 @@ void loop(){
<tr><td>HEX Unit</td><td>/</td><td>HEX Pin</td><td>5V</td><td>GND</td></tr>
</table>
<img src="assets/img/product_pics/unit/hex/unit_hex_04.jpg" width="50%">
<script>