Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes7eicher committed Apr 22, 2022
1 parent 469e2f4 commit 2759625
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,40 +104,6 @@ The number of bytes available to read.
* [sendBreakMicroseconds()](#sendbreakmicroseconds)
* [setPins()](#setpins)

### `available()`

Get the number of bytes (characters) available for reading from the RS485 port. This is data that already arrived and is stored in the serial receive buffer.

#### Syntax

```
RS485.available()
```

#### Parameters

None.

#### Returns

The number of bytes available to read.

#### See also

* [begin()](#begin)
* [end()](#end)
* [peek()](#peek)
* [read()](#read)
* [write()](#write)
* [flush()](#flush)
* [beginTransmission()](#begintransmission)
* [endTransmission()](#endtransmission)
* [receive()](#receive)
* [noReceive()](#noreceive)
* [sendBreak()](#sendbreak)
* [sendBreakMicroseconds()](#sendbreakmicroseconds)
* [setPins()](#setpins)

### `peek()`

Returns the next byte (character) of the incoming serial data without removing it from the internal serial buffer. That is, successive calls to peek() will return the same character, as will the next call to read().
Expand Down

0 comments on commit 2759625

Please sign in to comment.