Skip to content

Commit c7e41ea

Browse files
committed
【更新】machine 模块例程
1 parent 6adf70e commit c7e41ea

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/04-Hardware_Control_Module/01-machine.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,16 @@
5858

5959
###
6060

61-
#### [class Pin](02-machine-Pin.md) - 控制 I/O 引脚
62-
#### [class I2C](03-machine-I2C.md) - I2C 协议
63-
#### [class SPI](04-machine-SPI.md) - SPI 协议
64-
#### [class UART](05-machine-UART.md) - 串口
61+
#### [class Pin](02-machine-Pin.md) - 控制 I/O 引脚
62+
#### [class I2C](03-machine-I2C.md) - I2C 协议
63+
#### [class SPI](04-machine-SPI.md) - SPI 协议
64+
#### [class UART](05-machine-UART.md) - 串口
65+
#### [class LCD](06-machine-LCD.md) - LCD
66+
#### [class RTC](07-machine-RTC.md) - RTC
67+
#### [class PWM](08-machine-PWM.md) - PWM
68+
#### [class ADC](09-machine-ADC.md) - ADC
69+
#### [class WDT](10-machine-WDT.md) - 看门狗
70+
#### [class TIMER](11-machine-Timer.md) - 定时器
6571

6672
### 示例
6773

@@ -95,7 +101,7 @@ GC:
95101
1=14 2=6 m=3
96102
>>> machine.enable_irq() # enable interrupt
97103
>>> machine.disable_irq() # disable interrupt, WARNING: this operation is dangerous
98-
>>> machine.reset() # hard reset, like push RESET button
104+
>>> machine.reset() # hard reset, like push RESET button
99105
```
100106

101107
更多内容可参考 [machine](http://docs.micropython.org/en/latest/pyboard/library/machine.html)

0 commit comments

Comments
 (0)