add ja lcd api reference

This commit is contained in:
塩入孔章
2018-12-04 15:00:14 +08:00
parent c087b2c814
commit fb7b079a79
14 changed files with 268 additions and 85 deletions
@@ -0,0 +1,23 @@
# GPIO
[中文](/zh_CN/api_reference/micropython/peripherals/api_gpio) | English | [日本語](/ja/api_reference/micropython/peripherals/api_gpio)
*Refer to GPIO API of [Arduino](http://www.arduino.cc)*
### <mark>digitalRead</mark>
> uint32 digitalRead(uint8 pin);
Read the value of `pin`
| Param | Type | Description |
| --- | --- | --- |
| pin | <code>uint8</code> | the number of pin |
Return:
digital level(0/1)
**Example**
```c++
uint32_t pin21_data;
pin21_data = digitalRead(21);
```