diff --git a/en/peripherals/machine.Pin.md b/en/peripherals/machine.Pin.md index 429c2ee7f6a1039d39866b0a7d4fb84f3c6ea55f..1c9988ad98db779d1bdec6afb0877a952b313785 100644 --- a/en/peripherals/machine.Pin.md +++ b/en/peripherals/machine.Pin.md @@ -1505,14 +1505,6 @@ class machine.Pin(GPIOn, direction, pullMode, level) GPIO44 Pin25 - - GPIO45 - Pin105 - - - GPIO46 - Pin104 - GPIO47 Pin79 @@ -3483,7 +3475,7 @@ This method sets the pin level. **Parameter:** -- `value` - Integer type. Pin level. `0` - low level. `1` - high level. +- `value` - Integer type. Pin level. `0` - low level. `1` - high level. **Return Value:** @@ -3508,7 +3500,7 @@ This method sets the pin level. Pin.set_dir(value) ``` -This method sets I/O mode of the pin. +This method sets I/O mode of the pin. **Parameter:** @@ -3526,11 +3518,11 @@ This method sets I/O mode of the pin. Pin.get_dir() ``` -This method gets I/O mode of the pin. +This method gets I/O mode of the pin. **Return Value:** -I/O mode of pins. +I/O mode of pins. `0` - Input mode. diff --git a/zh/peripherals/machine.Pin.md b/zh/peripherals/machine.Pin.md index 9ba758b98ccda33a2ebc9b80f583af7b4c60c2aa..6f49625d44506ef11189cbe77675b7f57c524591 100644 --- a/zh/peripherals/machine.Pin.md +++ b/zh/peripherals/machine.Pin.md @@ -1506,14 +1506,6 @@ class machine.Pin(GPIOn, direction, pullMode, level) GPIO44 引脚号25 - - GPIO45 - 引脚号105 - - - GPIO46 - 引脚号104 - GPIO47 引脚号79