mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix README
This commit is contained in:
parent
c7276d1d05
commit
82aaf98d4c
15
README.md
15
README.md
@ -205,6 +205,8 @@ Support subaggregate of python 3 standard syntax.
|
|||||||
|
|
||||||
Support class and method define, encapsulation-inheritance-polymorphism and moudles in `.pyi ` of C module.
|
Support class and method define, encapsulation-inheritance-polymorphism and moudles in `.pyi ` of C module.
|
||||||
|
|
||||||
|
<details><summary>More Details About Syntax Support</summary>
|
||||||
|
|
||||||
|Syntax|Compile-Time|Run-Time|Shell|
|
|Syntax|Compile-Time|Run-Time|Shell|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|Module Define |√|-|-|
|
|Module Define |√|-|-|
|
||||||
@ -284,6 +286,7 @@ Support class and method define, encapsulation-inheritance-polymorphism and moud
|
|||||||
| yield | is | comprehensions |
|
| yield | is | comprehensions |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| - | √ | - |
|
| - | √ | - |
|
||||||
|
</details>
|
||||||
|
|
||||||
### (4)Develop standard.
|
### (4)Develop standard.
|
||||||
|
|
||||||
@ -301,9 +304,7 @@ The scripts in demos are in the [examples](examples) folder.
|
|||||||
|
|
||||||
## Demo 01 GPIO
|
## Demo 01 GPIO
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
<summary>View Code</summary>
|
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import PikaStdLib
|
import PikaStdLib
|
||||||
@ -338,9 +339,7 @@ while True:
|
|||||||
|
|
||||||
## Demo 02 USART
|
## Demo 02 USART
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
<summary>View Code</summary>
|
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import PikaStdLib
|
import PikaStdLib
|
||||||
@ -420,7 +419,7 @@ while True:
|
|||||||
|
|
||||||
## Demo 05 RGB
|
## Demo 05 RGB
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import STM32G0
|
import STM32G0
|
||||||
@ -590,7 +589,7 @@ while True:
|
|||||||
d = 3
|
d = 3
|
||||||
isUpdate = 1
|
isUpdate = 1
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
@ -155,6 +155,8 @@ Support subaggregate of python 3 standard syntax.
|
|||||||
|
|
||||||
Support class and method define, encapsulation-inheritance-polymorphism and moudles in `.pyi ` of C module.
|
Support class and method define, encapsulation-inheritance-polymorphism and moudles in `.pyi ` of C module.
|
||||||
|
|
||||||
|
<details><summary>More Details About Syntax Support</summary>
|
||||||
|
|
||||||
|Syntax|Compile-Time|Run-Time|Shell|
|
|Syntax|Compile-Time|Run-Time|Shell|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|Module Define |√|-|-|
|
|Module Define |√|-|-|
|
||||||
@ -173,6 +175,7 @@ Support class and method define, encapsulation-inheritance-polymorphism and moud
|
|||||||
|
|
||||||
!INCLUDE "syntax.mdpp"
|
!INCLUDE "syntax.mdpp"
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### (4)Develop standard.
|
### (4)Develop standard.
|
||||||
|
|
||||||
@ -190,9 +193,7 @@ The scripts in demos are in the [examples](examples) folder.
|
|||||||
|
|
||||||
## Demo 01 GPIO
|
## Demo 01 GPIO
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
<summary>View Code</summary>
|
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import PikaStdLib
|
import PikaStdLib
|
||||||
@ -227,9 +228,7 @@ while True:
|
|||||||
|
|
||||||
## Demo 02 USART
|
## Demo 02 USART
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
<summary>View Code</summary>
|
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import PikaStdLib
|
import PikaStdLib
|
||||||
@ -309,7 +308,7 @@ while True:
|
|||||||
|
|
||||||
## Demo 05 RGB
|
## Demo 05 RGB
|
||||||
|
|
||||||
<details>
|
<details><summary>View Code</summary>
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
import STM32G0
|
import STM32G0
|
||||||
@ -479,7 +478,7 @@ while True:
|
|||||||
d = 3
|
d = 3
|
||||||
isUpdate = 1
|
isUpdate = 1
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user