diff --git a/docs/en/api_reference.md b/docs/en/api_reference.md index 90118c72..a63cf29a 100644 --- a/docs/en/api_reference.md +++ b/docs/en/api_reference.md @@ -1,6 +1,6 @@ # API Reference -[中文](/zh_CN/api_reference) | English | [日本語](/ja/api_reference) +[中文](zh_CN/api_reference) | English | [日本語](ja/api_reference) | MicroPython | Arduino | |:------------|:--------| diff --git a/docs/en/file_to_display_null.md b/docs/en/file_to_display_null.md deleted file mode 100644 index 266736c3..00000000 --- a/docs/en/file_to_display_null.md +++ /dev/null @@ -1 +0,0 @@ -### Coming soon... diff --git a/docs/en/product_documents/units/unit_esp32cam.md b/docs/en/product_documents/units/unit_esp32cam.md index 6270a6d0..d0b810bd 100644 --- a/docs/en/product_documents/units/unit_esp32cam.md +++ b/docs/en/product_documents/units/unit_esp32cam.md @@ -4,9 +4,9 @@ ## DESCRIPTION -The **ESP32Cam** is a tiny unit based on ESP32 chip and OV2640. You can even program it through Arduino IDE. +The **ESP32Cam** is a tiny unit based on ESP32 chip and OV2640. You can even program it through ESP-IDF. -The ESP32Cam equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger , so your ESP32Cam project can be battery-powered and truly wireless. Additionally, the board reserved the MPU6050,BME280 and an analog MIC. +The ESP32Cam equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger , so your ESP32Cam project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC. ## INCLUDES @@ -51,6 +51,8 @@ The ESP32Cam equips the ESP32 with everything necessary to program, run and deve - **[Example](https://github.com/m5stack/esp32-cam-demo/tree/m5cam) (ESP32)** - **[Datasheet](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) (ESP32)** - **[Datasheet](https://www.uctronics.com/download/cam_module/OV2640DS.pdf) (OV2640)** +- **[PinMap](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/hardware_diff_with_ESP32CAM_M5Camera.md)** +- **[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Units/esp32-cam/M5CAM-ESP32-A1-POWER.pdf)** - **[Quick Start](/en/quick_start/m5camera/m5camera_quick_start)** - [ESP32Cam purchase (AliExpress)](https://www.aliexpress.com/store/product/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/3226069_32881414545.html) diff --git a/docs/en/product_documents/units/unit_m5camera.md b/docs/en/product_documents/units/unit_m5camera.md index bddeb721..78f9b8f9 100644 --- a/docs/en/product_documents/units/unit_m5camera.md +++ b/docs/en/product_documents/units/unit_m5camera.md @@ -4,9 +4,9 @@ ## DESCRIPTION -The **M5Camera** is a tiny unit based on ESP32 chip and OV2640 including PSRAM. You can even program it through Arduino IDE. +The **M5Camera** is a tiny unit based on ESP32 chip and OV2640 including PSRAM. You can even program it through ESP-IDF. -The M5Camera equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger (IP5306) , so your M5Camera project can be battery-powered and truly wireless. Additionally, the board reserved the MPU6050,BME280 and an analog MIC. +The M5Camera equips the ESP32 with everything necessary to program, run and develop on the wonderful chip. It also features a LiPo charger (IP5306) , so your M5Camera project can be battery-powered and truly wireless. Additionally, the board reserved the Welding positions of MPU6050,BME280 and an analog MIC. ## INCLUDES @@ -50,6 +50,7 @@ The M5Camera equips the ESP32 with everything necessary to program, run and deve - **[Example](https://github.com/m5stack/esp32-cam-demo/tree/m5cam-psram) (ESP32)** - **[Datasheet](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_cn.pdf) (ESP32)** - **[Datasheet](https://www.uctronics.com/download/cam_module/OV2640DS.pdf) (OV2640)** +- **[PinMap](https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md)** - **[Quick Start](/en/quick_start/m5camera/m5camera_quick_start)**
diff --git a/docs/en/quick_start.md b/docs/en/quick_start.md index 1f91a9a6..2eb2e595 100644 --- a/docs/en/quick_start.md +++ b/docs/en/quick_start.md @@ -4,10 +4,9 @@ *This document is intended to help you set up the software environment(Arudino, MicroPython) for development of M5Stack. Through a simple example we would like to illustrate how to develop M5Stack boards, firmware(Arduino) or source files(MicroPython) download to M5Stack boards.* - | | ----|---|--- + | +---|--- [M5StackCore](/en/quick_start/m5core/m5stack_core_quick_start) | [M5Camera](/en/quick_start/m5camera/m5camera_quick_start) - + +*屏幕像素为320x240,以屏幕左上角为原点(0,0)* + +### M5.lcd.setBrightness(uint8_t brightness); + +**例程** +```c++ +M5.lcd.setBrightness(200); +``` + +**设置整个屏幕显示的亮度。** + +| 参数 | 描述 | +| --- | --- | +| brightness | 屏幕的亮度(0-254) | + +* * * + +### M5.Lcd.setCursor(uint16_t x0, uint16_t y0); + +**例程** +```c++ +M5.lcd.setCursor(20, 40); +``` + +**设置下一次要显示的起始位置(x0, y0)** + +* * * + +### M5.Lcd.fillScreen(uint16_t color); +**例程** +```c++ +M5.Lcd.fillScreen(BLUE) +``` +**以指定的颜色填充整个屏幕。** + +| 参数 | 描述 | +| --- | --- | +| color | 颜色值 | + + + +* * * + + diff --git a/docs/zh_CN/api_reference/micropython/api_lcd.md b/docs/zh_CN/api_reference/micropython/api_lcd.md index 36187ec6..e0fc0a08 100644 --- a/docs/zh_CN/api_reference/micropython/api_lcd.md +++ b/docs/zh_CN/api_reference/micropython/api_lcd.md @@ -2,6 +2,8 @@ 中文 | [English](/en/api_reference/micropython/api_lcd) | [日本語](/ja/api_reference/micropython/api_lcd) +*屏幕像素为320x240,以屏幕左上角为原点(0,0)* + ### lcd.setRotation(degree) **例程** @@ -163,7 +165,7 @@ lcd.fillRoundRect(180,70,122,10,4,lcd.BLUE) lcd.print('this is a print text function', 80, 80) ``` **在(x,y)处开始打印文本(字符串)text。** - + | 参数 | 描述 | | --- | --- | | text | 要打印的内容 | diff --git a/docs/zh_CN/file_to_display_null.md b/docs/zh_CN/file_to_display_null.md deleted file mode 100644 index 6b8ddcbd..00000000 --- a/docs/zh_CN/file_to_display_null.md +++ /dev/null @@ -1,3 +0,0 @@ -### 在编辑中... - -### 敬请期待... \ No newline at end of file