2.1.28, initiation update to PXT v5.28.24 (#54)

This commit is contained in:
Amerlander
2019-12-02 05:58:26 +01:00
committed by Peli de Halleux
parent 38a964516e
commit 5c114a0c57
1261 changed files with 50692 additions and 21604 deletions

View File

@ -0,0 +1,23 @@
# set Rx Buffer Size
Sets the length of the serial reception buffer in bytes.
```sig
serial.setRxBufferSize(10)
```
## Parameters
* **size**: desired length of the reception buffer
## Example
Allocates 64 bytes for the reception buffer.
```typescript
serial.setRxBufferSize(64)
```
## See also
[set tx buffer size](/reference/serial/set-tx-buffer-size)