This commit is contained in:
LiHuashen
2018-12-28 00:06:05 +08:00
parent e57a607bd9
commit aec3eacbcc
2 changed files with 33 additions and 11 deletions
+13 -1
View File
@@ -2,28 +2,40 @@
***
 
<img src='assets/img/product_pics/1.jpg'> <img src='assets/img/product_pics/cores.png'>
**主控M5Core**
[![core_basic.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/core_basic_01.png)](zh_CN/core/basic)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![core_gray.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/core_gray_01.png)](zh_CN/core/gray)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![product_pic_fire.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/core_fire_01.png)](zh_CN/core/fire)
&nbsp; &nbsp; &nbsp; 基础版M5Core&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 灰色升级版M5Core&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 红色升级版M5Core
**MiniCore**
[![minicore_m5stick.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/core_m5stick_01.png)](zh_CN/core/m5stick)
&nbsp; &nbsp; &nbsp; 基础版Stick
**套件**
[![kit_m5go.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_m5go_01.png)](zh_CN/core/m5go_iot_starter_kit)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![kit_faces.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/core/kit_faces_01.png)](zh_CN/core/face_kit)
M5GO物联网开发套件&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FACES套件
***
<img src='assets/img/product_pics/2.jpg'> <img src='assets/img/product_pics/module.png'>
&nbsp;
<img src='assets/img/product_pics/2.jpg'> <img src='assets/img/product_pics/module.png'>
**通讯模块**
[![module_gps.png](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_gps_01.png)](zh_CN/module/gps)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![module_lora.jpg](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_lora_01.png)](zh_CN/module/lora)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![module_lorawan.jpg](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_lorawan_01.png)](zh_CN/module/lorawan)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![module_sim800.jpg](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_sim800_01.png)](zh_CN/module/sim800)
&nbsp; GPS定位导航模块&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lora节点模块
[![module_commu.jpg](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_commu_01.png)](zh_CN/module/commu)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![module_usb.jpg](http://m5-docs.oss-cn-shenzhen.aliyuncs.com/assets/img/product_pics/homepage_picture/module/module_usb_01.png)](zh_CN/module/usb)
**拓展模块**
+20 -10
View File
@@ -1,13 +1,16 @@
# LCD
中文 | [English](/en/api_reference/micropython/api_lcd) | [日本語](/ja/api_reference/micropython/api_lcd)
*屏幕像素为320x240,以屏幕左上角为原点(0,0)*
### <mark>lcd.setRotation(degree)</mark>
<!-- ### <mark>lcd.setRotation(degree)</mark>
**例程**
```arduino
// Arduino
lcd.setRotation(90)
```
```python
# MicroPython
lcd.setRotation(90)
```
@@ -19,15 +22,11 @@ lcd.setRotation(90)
* * *
* * * -->
### <mark>lcd.setColor(color [, background_color])</mark>
**例程**
```python
lcd.setColor(lcd.RED)
lcd.setColor(lcd.ORANGE, lcd.DARKCYAN)
```
<!-- ### <mark>lcd.setColor(color [, background_color])</mark> -->
### <mark>setTextColor(color [, background_color])</mark>
**设置显示文本的前景颜色和背景颜色。**
@@ -36,6 +35,17 @@ lcd.setColor(lcd.ORANGE, lcd.DARKCYAN)
| color | 文本的前景颜色 |
| background_color| 文本的背景颜色 |
**例程**
```arduino
// Arduino
M5.Lcd.setTextColor(RED);
```
```python
# MicroPython
lcd.setTextColor(lcd.RED)
lcd.setTextColor(lcd.ORANGE, lcd.DARKCYAN)
```
* * *
### <mark>lcd.fillScreen(color)</mark>