File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
docs/04-Hardware_Control_Module Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 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
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 ) 。
You can’t perform that action at this time.
0 commit comments