Skip to content

Commit

Permalink
ci auto translate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luatos_bot committed Nov 4, 2023
1 parent e8c78a3 commit 439e1ed
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ The top/bottom/left/right fill values from the background are used to reserve so

There is a text on each button. To specify them, you need to use an array of descriptor strings called * map. You can set the map using the `lvgl.btnmatrix_ set_map(btnm, my_map). The declaration of the map should be as follows `local map = {"btn1", "btn2", "btn3", ""}`. Note that the **last element must be an empty string**

`"\n"`Use to wrap lines in the map * *. For example. The width of each row of buttons is calculated automatically. For example: `{"btn1", "btn2", "\n", "btn3", ""}`, the width of each row of buttons is automatically calculated.
`"\n"`Use to **wrap lines** in the map. For example. The width of each row of buttons is calculated automatically. For example: `{"btn1", "btn2", "\n", "btn3", ""}`, the width of each row of buttons is automatically calculated.

#### Control button

Expand Down Expand Up @@ -3648,7 +3648,7 @@ return win_demo

## Font

LVGL Font support is very complete, support * * UTF-8 * * encoded Unicode characters, divided into internal fonts and external fonts, font production tools are also many:[LVGL official font production tools](https://lvgl.io/tools/fontconverter), third-party [LvglFontTool](http://www.lfly.xyz/forum.php?mod=viewthread&tid=24&extra=page=1) and [MCU_Font](https://gitee.com/WuBinCPP/MCU_Font_Release), etc. This article will introduce different font production methods using different tools to make everyone understand it.
LVGL Font support is very complete, support **UTF-8** encoded Unicode characters, divided into internal fonts and external fonts, font production tools are also many:[LVGL official font production tools](https://lvgl.io/tools/fontconverter), third-party [LvglFontTool](http://www.lfly.xyz/forum.php?mod=viewthread&tid=24&extra=page=1) and [MCU_Font](https://gitee.com/WuBinCPP/MCU_Font_Release), etc. This article will introduce different font production methods using different tools to make everyone understand it.

### Internal Font

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/boardGuide/flash.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Find the folder where the Luatools is located. The "Luatools/resource/esp32c3_lu
:::{tab-item} ESP32C3 Classic Edition
:sync: c3uart

Find the folder where the Luatools is located. The folder`s `Luatools/resource/esp32c3_lua_lod/Version Number` * * without the words **`USB` is the official version firmware downloaded automatically.
Find the folder where the Luatools is located. The folder`s `Luatools/resource/esp32c3_lua_lod/Version Number` without the words **`USB`** is the official version firmware downloaded automatically.

```{important}
The driver of CH343 must be installed to download the firmware normally. The default CDC driver prints the log without any problem, but the download fails if the speed is too slow. [Drive portal](http://www.wch.cn/downloads/CH343SER_EXE.html)
Expand Down
4 changes: 2 additions & 2 deletions translated-docs/boardGuide/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Yes, there is. Here recommend use Microsoft's Visual Studio Code (vscode) code e

Open vscode official website:[https://code.visualstudio.com/](https://code.visualstudio.com/)

Click on the big * * Download for xxxxxx * * to download the software
Click on the big **Download for xxxxxx** to download the software

> Of course, some classmates may find that the download speed is very slow. What should we do? Of course, there is a way. We can copy the file currently being downloaded * * download link * *, replace the domain name (`https://` and the middle of the next`/`) with` vscode.cdn.azure.cn` and download it again, which will be faster.
> Of course, some classmates may find that the download speed is very slow. What should we do? Of course, there is a way. We can copy the file currently being downloaded **download link**, replace the domain name (`https://` and the middle of the next`/`) with` vscode.cdn.azure.cn` and download it again, which will be faster.
After opening the installation package, you need to pay attention to checking two of the options (the picture is in English, too):

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/chips/air32f103/board.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Development Board Engineering [portal](https://gitee.com/openLuat/luatos-broads/

## Instructions for use

The factory default of the development board is daplink firmware (BluePill the development board has no firmware by default). The firmware supports * * external control * * debugging and downloading function, and supports USB flash drive mode burning and virtual serial port
The factory default of the development board is daplink firmware (BluePill the development board has no firmware by default). The firmware supports **external control** debugging and downloading function, and supports USB flash drive mode burning and virtual serial port

```{note}
recommend upgrade to the new version of [DAPLink V2 firmware](https://gitee.com/openLuat/luatos-soc-air32f103/tree/master/AIR_Jlink_Keil), the burning speed can be doubled ([check the upgrade method](https://gitee.com/openLuat/luatos-soc-air32f103/blob/master/AIR_Jlink_Keil/air32_daplink_readme.txt))
Expand Down
6 changes: 3 additions & 3 deletions translated-docs/chips/air32f103/daplink.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ The solution for using this batch of burners is as follows:

DAPLink It is an official open source debugger scheme of ARM, with the official address of [ARMmbed/DAPLink (github.com)](https://github.com/ARMmbed/DAPLink). It can be used to debug almost all single chip computers of arm cortex kernel. The latest M33 and M85 kernels also support debugging.

Based on ARM's official code, Zeus was transplanted to Air32F103CBT6 and adapted the resources of * * 216M dominant frequency * * and * * 96K large RAM * *, supporting faster download speed ([firmware open source](https://gitee.com/openLuat/daplink)), and designed an ultra-small DAPLink hardware
Based on ARM's official code, Zeus was transplanted to Air32F103CBT6 and adapted the resources of **216M dominant frequency** and **96K large RAM**, supporting faster download speed ([firmware open source](https://gitee.com/openLuat/daplink)), and designed an ultra-small DAPLink hardware

![img](img/1685598778508-1.jpg)

## Main functions

- **The whole series of **Arm-cortex core chip debugging and burning, ARM official maintenance, follow-up new kernel will still support
- A **full-featured USB to serial port**(CDC) with hardware DTR and RTS for automatic download
- With * * U disk drag and drop burn * * function, you can directly drag hex or binfile to U disk to burn (only support burn CBT6)
- With **U disk drag and drop burn** function, you can directly drag hex or binfile to U disk to burn (only support burn CBT6)
- Adapt to **DAPLink V2** WINUSB version, the speed is 3 to 10 times higher than HID version, greatly saving download time
- Support **WEBUSB** function, can burn firmware on web pages, support insertion of pop-up windows, no need to worry about not using it
- Support Keil,IAR,PyOCD and other debugging environment
Expand All @@ -43,7 +43,7 @@ Based on ARM's official code, Zeus was transplanted to Air32F103CBT6 and adapted

- The size is only 2.5*1.3cm, which is smaller than USBA mouth.
- Use **4-layer gold** PCB design
- Selection of * * sink TYPEC mouth * * more solid and stable
- Selection of **sink TYPEC mouth** more solid and stable
- USB The port uses **TI's ESD chip** protection
- **High-current LDO **can provide power supply for external equipment while stably supplying power to air32

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/chips/esp32s3/board.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Note that since **win7** system does not have a` winusb` driver, and Microsoft h

```{warning}
The first batch of ESP32S3 core boards, due to FLASH thermal expansion and cold contraction, will have a small probability of causing virtual welding after hand. (Firmware will be burned before leaving the factory, and will not leave the factory until it is successfully burned. This is the reason )
If the` default flashing light program` on the back board cannot run and * * cannot burn firmware (stuck in the step of FLASH download) * *, try to repair and solder the pad at * * FLASH * (tin added )。
If the` default flashing light program` on the back board cannot run and **cannot burn firmware (stuck in the step of FLASH download)**, try to repair and solder the pad at * * FLASH * (tin added )。
Therefore, please check the usb port with power on after you get it, and then carry out the welding needle arrangement operation after confirming that there is no problem.
```

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/develop/contribute/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ camera.setup(...)

#### Interfaces that require incoming GPIO

- When the port number * * does not exist * *, use` negative number` to represent, try to avoid using a specific positive number or 0 (some MCU exist GPIO_0)
- When the port number **does not exist**, use` negative number` to represent, try to avoid using a specific positive number or 0 (some MCU exist GPIO_0)
- Others to be determined

## Git Submission Specification
Expand Down
2 changes: 1 addition & 1 deletion translated-docs/iotpower/cc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ IOT Power CC Is a fully functional, stable and reliable small handheld high-prec
- Current **Multi-channel synchronous sampling**, no shift delay, highest resolution 0.15μA
- High precision, small error, details can be found in [technical indicators](https://openluat.github.io/luatos-wiki-en/iotpower/cc/tech.html), welcome to verify
- Up to **10KHz sampling rate** to meet the power consumption test requirements of cellular modules, Bluetooth, WIFI, etc.
- You can * * connect a PC client * * to view and analyze the current waveform, or use the command line version to capture serial port data (such as strawberry pie) on any device (win/linux/mac) and use the pc client to import and view
- You can **connect a PC client** to view and analyze the current waveform, or use the command line version to capture serial port data (such as strawberry pie) on any device (win/linux/mac) and use the pc client to import and view
- **BOM Cost disclosure * * (pull down to have), conscientious and sincere work, sincerely recruit suppliers with more favorable prices
- Shell data is open, [open source shell address](https://cdn.openluat-luatcommunity.openluat.com/attachment/20230515082541036_%E5%A4%96%E5%A3%B3%E8%B5%84%E6%96%99%E6%9B%B4%E6%96%B0.zip)

Expand Down
4 changes: 2 additions & 2 deletions translated-docs/iotpower/cc/parts.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The basic appearance of the equipment is as follows
|****|Power supply/PC client communication | **** | OK `O`|
|****|USB TYPE-C Power supply input | **** | Left shift key `<`|
|****|USB TYPE-C Power supply output | **** | right shift key `>`|
|****|External power supply positive pole (corresponding to ②) | **(11)** | Cancel button `X`|
|****|External power supply negative pole-(corresponding to ②) | **()** | Page turn key/force to enter upgrade mode|
|****|External power supply positive pole (corresponding to ②) | **** | Cancel button `X`|
|****|External power supply negative pole-(corresponding to ②) | **** | Page turn key/force to enter upgrade mode|
|**Small dial code **| Switch the power supply source of CC ([see this for usage](https://openluat.github.io/luatos-wiki-en/iotpower/cc/parts.html#id3)||
|****|External output positive pole (corresponding to ③)||
|****|External output negative pole-(corresponding to ③)||
Expand Down
8 changes: 4 additions & 4 deletions translated-docs/iotpower/cc/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ If it is the first time to power on, please refer to the steps in [this video](h

## Why have I been circling around since I turned on PD?

First of all, please look at the instructions, * * don't * * lure the air, [like these * * wrong demonstration**](wrong.md)
First of all, please look at the instructions, **don't** lure the air, [like these **wrong demonstration**](wrong.md)

If the operation is correct, you can try :
In the settings, turn on` power-on and self-start PD`, and only supply power from * * input * * terminal (dial code is changed to input power supply mode), and connect PD charger, there will be only a few phenomena:
In the settings, turn on` power-on and self-start PD`, and only supply power from **input** terminal (dial code is changed to input power supply mode), and connect PD charger, there will be only a few phenomena:

- If the CC is not lit, then:
- Charging head or charging line, there must be one that does not support PD
Expand All @@ -34,15 +34,15 @@ Even if the mobile phone can be used to trigger fast charging, it cannot prove t

## Can it trigger the fast charging of the mobile phone? I don't want to use my own decoy function.

Yes, if you need to test, please * * turn off the pd decoy function of the device itself (take effect after restarting and powering on) * *, otherwise it will interfere. In addition, some mobile phone charging heads distinguish between front and back, please arrange and combine the test directions by yourself.
Yes, if you need to test, please **turn off the pd decoy function of the device itself (take effect after restarting and powering on)**, otherwise it will interfere. In addition, some mobile phone charging heads distinguish between front and back, please arrange and combine the test directions by yourself.

```{note}
Some equipment fast charging protocols are non-standard, and fast charging may not be triggered when using input port power supply. At this time, the PC-side power supply test is required to isolate the power supply of the device from the fast charging phase.
```

## Why does the voltage turn on and off for a while when my output terminal is connected to a mobile phone/charging treasure/computer?

If your output is connected to a mobile phone/charging treasure/computer that supports fast charging, please * * do not turn on * * `start up and automatically enable PD` (it will take effect after restarting and powering up), otherwise the two devices will cheat together and cause interference.
If your output is connected to a mobile phone/charging treasure/computer that supports fast charging, please **do not turn on** `start up and automatically enable PD` (it will take effect after restarting and powering up), otherwise the two devices will cheat together and cause interference.

## Why do I supply power from the input port, CC will always restart/plug in the mobile phone and turn off the screen?

Expand Down
6 changes: 3 additions & 3 deletions translated-docs/iotpower/cc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ The basic appearance of the equipment is as follows
| **** | Power supply of the device itself/PC client communication | **** | OK `O` |
| **** | USB TYPE-C Power supply input | **** | Left shift key `<` |
| **** | USB TYPE-C Power supply output | **** | right shift key `>` |
| **** | External power supply positive pole (corresponding to ②) | **(11)** | Cancel button `X` |
| **** | External power supply negative-(corresponding to ②) | **()** | Page turn key/force to enter upgrade mode/clear bottom current to zero |
| **** | External power supply positive pole (corresponding to ②) | **** | Cancel button `X` |
| **** | External power supply negative-(corresponding to ②) | **** | Page turn key/force to enter upgrade mode/clear bottom current to zero |
| **Small dial code **| Switch the power supply source of CC ([see this for usage](https://openluat.github.io/luatos-wiki-en/iotpower/cc/parts.html#id3)| | |
| **** | External output positive pole (corresponding to ③) | | |
| **** | External output negative pole-(corresponding to ③) | | |
Expand Down Expand Up @@ -117,7 +117,7 @@ This page sets the parameters in the device

If the user makes an error on the way to upgrade the device and the device cannot be used normally, you can manually enter the upgrade mode (DFU) to manually upgrade

You can disconnect the power supply of the device first, hold down the` page turning key/force to enter upgrade mode`, and then insert USB power supply. at this time, you can see * * the information of DFU mode displayed on the device screen * *, or you can find the` IotPower DFU` device in the` universal serial bus device` of the` device manager` of the computer.
You can disconnect the power supply of the device first, hold down the` page turning key/force to enter upgrade mode`, and then insert USB power supply. at this time, you can see **the information of DFU mode displayed on the device screen**, or you can find the` IotPower DFU` device in the` universal serial bus device` of the` device manager` of the computer.

Finally, open the client-`device and software settings`-`force firmware upgrade` and upgrade it.

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/iotpower/pc.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The layout of the software homepage is shown in the following figure

The value of this area is the current data after the device is connected, which can be switched to the moving average or instantaneous value.

The * * data floating window * * switch on the top of the software can open the floating window, and the displayed data is exactly the same as the data here. it is always displayed on the top, which is convenient to view real-time data after minimizing the software.
The **data floating window** switch on the top of the software can open the floating window, and the displayed data is exactly the same as the data here. it is always displayed on the top, which is convenient to view real-time data after minimizing the software.

> If it is in the instantaneous value gear, it may be inconsistent with the display at the device end. This is a normal phenomenon, because the refresh time point cannot be completely consistent.
Expand Down
2 changes: 1 addition & 1 deletion translated-docs/iotpower/power/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ When **standby** is displayed in the upper left corner, it means that it is not

### Zeroing

On the premise of ensuring that no external equipment is connected, short press ④ to switch to * * normal * * mode and turn on the output; Long press ① to set the current bottom current, and then zero
On the premise of ensuring that no external equipment is connected, short press ④ to switch to **normal** mode and turn on the output; Long press ① to set the current bottom current, and then zero

### Switching between electric quantity and power display

Expand Down
2 changes: 1 addition & 1 deletion translated-docs/iotpower/pro/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ IOT Power Is a fully functional, stable and reliable small hand-held power meter
- Current **Multi-channel synchronous sampling**, no shift delay, highest resolution 0.05μA
- High precision, small error, details can be found in [technical indicators](https://openluat.github.io/luatos-wiki-en/iotpower/pro/tech.html), welcome to verify
- Up to **10KHz sampling rate** to meet the power consumption test requirements of cellular modules, Bluetooth, WIFI, etc.
- You can * * connect a PC client * * to view and analyze the current waveform, or use the command line version to capture serial port data (such as strawberry pie) on any device (win/linux/mac) and use the pc client to import and view
- You can **connect a PC client** to view and analyze the current waveform, or use the command line version to capture serial port data (such as strawberry pie) on any device (win/linux/mac) and use the pc client to import and view

IOT Power Pro Is the majority of users carry the ideal test tool.

Expand Down
Loading

0 comments on commit 439e1ed

Please sign in to comment.