File tree Expand file tree Collapse file tree 10 files changed +347
-313
lines changed
locales/zh_CN/LC_MESSAGES/base Expand file tree Collapse file tree 10 files changed +347
-313
lines changed Original file line number Diff line number Diff line change @@ -18,31 +18,16 @@ Support the following products:
18
18
UiFlow2 Example
19
19
---------------
20
20
21
- TX Example
22
- ^^^^^^^^^^
21
+ RS232 Example
22
+ ^^^^^^^^^^^^^
23
23
24
- Open the |core_rs232_tx_example .m5f2 | project in UiFlow2.
24
+ Open the |atoms3r_rs232_example .m5f2 | project in UiFlow2.
25
25
26
- This example demonstrates how to send data using the RS232 module via the UART interface.
26
+ This example demonstrates how to send and receive data using the RS232 module via the UART interface.
27
27
28
28
UiFlow2 Code Block:
29
29
30
- |tx_example.png |
31
-
32
- Example output:
33
-
34
- None
35
-
36
- RX Example
37
- ^^^^^^^^^^
38
-
39
- Open the |cores3_rs232_rx_example.m5f2 | project in UiFlow2.
40
-
41
- This example demonstrates how to receive data using the RS232 module via the UART interface.
42
-
43
- UiFlow2 Code Block:
44
-
45
- |rx_example.png |
30
+ |example.png |
46
31
47
32
Example output:
48
33
@@ -51,29 +36,14 @@ Example output:
51
36
MicroPython Example
52
37
-------------------
53
38
54
- TX Example
55
- ^^^^^^^^^^
56
-
57
- This example demonstrates how to send data using the RS232 module via the UART interface.
58
-
59
- MicroPython Code Block:
60
-
61
- .. literalinclude :: ../../../examples/module/rs232/core_rs232_tx_example.py
62
- :language: python
63
- :linenos:
64
-
65
- Example output:
66
-
67
- None
68
-
69
- RX Example
70
- ^^^^^^^^^^
39
+ RS232 Example
40
+ ^^^^^^^^^^^^^
71
41
72
- This example demonstrates how to receive data using the RS232 module via the UART interface.
42
+ This example demonstrates how to send and receive data using the RS232 module via the UART interface.
73
43
74
44
MicroPython Code Block:
75
45
76
- .. literalinclude :: ../../../examples/module /rs232/cores3_rs232_rx_example .py
46
+ .. literalinclude :: ../../../examples/base /rs232/atoms3r_rs232_example .py
77
47
:language: python
78
48
:linenos:
79
49
Original file line number Diff line number Diff line change @@ -18,31 +18,16 @@ Support the following products:
18
18
UiFlow2 Example
19
19
---------------
20
20
21
- TX Example
22
- ^^^^^^^^^^
21
+ RS485 Example
22
+ ^^^^^^^^^^^^^^
23
23
24
- Open the |core_rs232_tx_example .m5f2 | project in UiFlow2.
24
+ Open the |atoms3r_rs485_example .m5f2 | project in UiFlow2.
25
25
26
- This example demonstrates how to send data using the RS232 module via the UART interface(same as RS485) .
26
+ This example demonstrates how to send and receive data using the RS485 module via the UART interface.
27
27
28
28
UiFlow2 Code Block:
29
29
30
- |tx_example.png |
31
-
32
- Example output:
33
-
34
- None
35
-
36
- RX Example
37
- ^^^^^^^^^^
38
-
39
- Open the |cores3_rs232_rx_example.m5f2 | project in UiFlow2.
40
-
41
- This example demonstrates how to receive data using the RS232 module via the UART interface(same as RS485).
42
-
43
- UiFlow2 Code Block:
44
-
45
- |rx_example.png |
30
+ |example.png |
46
31
47
32
Example output:
48
33
@@ -51,29 +36,14 @@ Example output:
51
36
MicroPython Example
52
37
-------------------
53
38
54
- TX Example
55
- ^^^^^^^^^^
56
-
57
- This example demonstrates how to send data using the RS232 module via the UART interface(same as RS485).
58
-
59
- MicroPython Code Block:
60
-
61
- .. literalinclude :: ../../../examples/module/rs232/core_rs232_tx_example.py
62
- :language: python
63
- :linenos:
64
-
65
- Example output:
66
-
67
- None
68
-
69
- RX Example
70
- ^^^^^^^^^^
39
+ RS485 Example
40
+ ^^^^^^^^^^^^^^
71
41
72
- This example demonstrates how to receive data using the RS232 module via the UART interface(same as RS485) .
42
+ This example demonstrates how to send and receive data using the RS485 module via the UART interface.
73
43
74
44
MicroPython Code Block:
75
45
76
- .. literalinclude :: ../../../examples/module/rs232/cores3_rs232_rx_example .py
46
+ .. literalinclude :: ../../../examples/base/rs485/atoms3r_rs485_example .py
77
47
:language: python
78
48
:linenos:
79
49
Original file line number Diff line number Diff line change 27
27
.. |flush.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/rs232/flush.png
28
28
.. |sendbreak.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/rs232/sendbreak.png
29
29
30
- .. |tx_example .png| image:: https://static-cdn.m5stack.com/mpy_docs/module /rs232/tx_example .png
30
+ .. |example .png| image:: https://static-cdn.m5stack.com/mpy_docs/base /rs232/example .png
31
31
32
- .. |core_rs232_tx_example .m5f2| raw:: html
32
+ .. |atoms3r_rs232_example .m5f2| raw:: html
33
33
34
34
<a
35
- href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/module /rs232/core_rs232_tx_example .m5f2"
35
+ href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/base /rs232/atoms3r_rs232_example .m5f2"
36
36
target="_blank"
37
37
>
38
- core_rs232_tx_example.m5f2
39
- </a>
40
-
41
- .. |rx_example.png| image:: https://static-cdn.m5stack.com/mpy_docs/module/rs232/rx_example.png
42
-
43
- .. |cores3_rs232_rx_example.m5f2| raw:: html
44
-
45
- <a
46
- href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/module/rs232/cores3_rs232_rx_example.m5f2"
47
- target="_blank"
48
- >
49
- cores3_rs232_rx_example.m5f2
50
- </a>
38
+ atoms3r_rs232_example.m5f2
39
+ </a>
Original file line number Diff line number Diff line change 27
27
.. |flush.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/rs485/flush.png
28
28
.. |sendbreak.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/rs485/sendbreak.png
29
29
30
- .. |tx_example.png| image:: https://static-cdn.m5stack.com/mpy_docs/module/rs232/tx_example.png
31
30
32
- .. |core_rs232_tx_example.m5f2| raw :: html
31
+ .. |example.png| image :: https://static-cdn.m5stack.com/mpy_docs/base/rs485/example.png
33
32
34
- <a
35
- href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/module/rs232/core_rs232_tx_example.m5f2"
36
- target="_blank"
37
- >
38
- core_rs232_tx_example.m5f2
39
- </a>
40
-
41
- .. |rx_example.png| image:: https://static-cdn.m5stack.com/mpy_docs/module/rs232/rx_example.png
42
-
43
- .. |cores3_rs232_rx_example.m5f2| raw:: html
33
+ .. |atoms3r_rs485_example.m5f2| raw:: html
44
34
45
35
<a
46
- href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/module/rs232/cores3_rs232_rx_example .m5f2"
36
+ href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/base/rs485/atoms3r_rs485_example .m5f2"
47
37
target="_blank"
48
38
>
49
- cores3_rs232_rx_example .m5f2
50
- </a>
39
+ atoms3r_rs485_example .m5f2
40
+ </a>
You can’t perform that action at this time.
0 commit comments