pikastech 3 жил өмнө
parent
commit
47da2d7c74
2 өөрчлөгдсөн 30 нэмэгдсэн , 0 устгасан
  1. 15 0
      README.md
  2. 15 0
      assets/README.mdpp

+ 15 - 0
README.md

@@ -302,7 +302,9 @@ The scripts in demos are in the [examples](examples) folder.
 ## Demo 01 GPIO
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -329,6 +331,7 @@ while True:
     time.sleep_ms(500)
 
 ```
+
 </details>
 
 ![Hnet-image (2)](document/image/132943428-f2b365ca-140e-42f4-936c-db6a7d9f8dee.gif)
@@ -336,7 +339,9 @@ while True:
 ## Demo 02 USART
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -355,13 +360,16 @@ while True:
 
 ```
 ![Hnet-image (3)](document/image/132943365-0f7059b3-4f9d-4989-a5ec-2cce72b0cc96.gif)
+
 </details>
 
 
 ## Demo 03 ADC
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -379,6 +387,7 @@ while True:
     time.sleep_ms(500)
 
 ```
+
 </details>
 
 ![mmexport1631351523907](document/image/132944185-0a01b1ba-8cf7-4f9f-9d73-fe9cbcd52f0b.png)
@@ -387,6 +396,7 @@ while True:
 ## Demo 04 PWM output
 
 <details>
+
 <summary>View Code</summary>
 ``` python
 import PikaStdLib
@@ -406,11 +416,13 @@ while True:
     pwm.setDuty(0.001)
     
 ```
+
 </details>
 
 ## Demo 05 RGB
 
 <details>
+
 ``` python
 import STM32G0
 import PikaPiZero
@@ -431,11 +443,13 @@ while True:
     rgb.flow()
 
 ```
+
 </details>
 
 ## Demo 06 Snake(Need LCD)
 
 <details>
+
 <summary>View Code</summary>
 ``` python
 from PikaObj import *
@@ -577,6 +591,7 @@ while True:
         isUpdate = 1
 	
 ```
+
 </details>
 
 ![image](https://user-images.githubusercontent.com/88232613/150269059-1fe3d62d-0c1b-40f4-9298-0d787f476a20.png)

+ 15 - 0
assets/README.mdpp

@@ -191,7 +191,9 @@ The scripts in demos are in the [examples](examples) folder.
 ## Demo 01 GPIO
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -218,6 +220,7 @@ while True:
     time.sleep_ms(500)
 
 ```
+
 </details>
 
 ![Hnet-image (2)](document/image/132943428-f2b365ca-140e-42f4-936c-db6a7d9f8dee.gif)
@@ -225,7 +228,9 @@ while True:
 ## Demo 02 USART
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -244,13 +249,16 @@ while True:
 
 ```
 ![Hnet-image (3)](document/image/132943365-0f7059b3-4f9d-4989-a5ec-2cce72b0cc96.gif)
+
 </details>
 
 
 ## Demo 03 ADC
 
 <details>
+
 <summary>View Code</summary>
+
 ``` python
 import PikaStdLib
 import STM32G0
@@ -268,6 +276,7 @@ while True:
     time.sleep_ms(500)
 
 ```
+
 </details>
 
 ![mmexport1631351523907](document/image/132944185-0a01b1ba-8cf7-4f9f-9d73-fe9cbcd52f0b.png)
@@ -276,6 +285,7 @@ while True:
 ## Demo 04 PWM output
 
 <details>
+
 <summary>View Code</summary>
 ``` python
 import PikaStdLib
@@ -295,11 +305,13 @@ while True:
     pwm.setDuty(0.001)
     
 ```
+
 </details>
 
 ## Demo 05 RGB
 
 <details>
+
 ``` python
 import STM32G0
 import PikaPiZero
@@ -320,11 +332,13 @@ while True:
     rgb.flow()
 
 ```
+
 </details>
 
 ## Demo 06 Snake(Need LCD)
 
 <details>
+
 <summary>View Code</summary>
 ``` python
 from PikaObj import *
@@ -466,6 +480,7 @@ while True:
         isUpdate = 1
 	
 ```
+
 </details>
 
 ![image](https://user-images.githubusercontent.com/88232613/150269059-1fe3d62d-0c1b-40f4-9298-0d787f476a20.png)