Skip to content

Commit 48919e7

Browse files
authored
Added explanation about the terminator character
This fixes #95. Adds text saying that the terminator char is not moved to the buffer.
1 parent bebe438 commit 48919e7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Language/Functions/Communication/Serial/readBytesUntil.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@
22
title: Serial.readBytesUntil()
33
---
44

5-
6-
7-
85
= Serial.readBytesUntil()
96

10-
117
// OVERVIEW SECTION STARTS
128
[#overview]
139
--
1410

1511
[float]
1612
=== Descrição
17-
Serial.readBytesUntil() lê caracteres da porta serial e os move para um buffer. A função termina se o caractere terminador foi encontrado, se a quantidade de bytes determinada foi lida, ou se ocorre time-out (ver link:../settimeout[Serial.setTimeout()]).
13+
Serial.readBytesUntil() lê caracteres da porta serial e os move para um buffer. A função termina se o caractere terminador foi encontrado, se a quantidade de bytes determinada foi lida, ou se ocorre time-out (ver link:../settimeout[Serial.setTimeout()]). A função retorna os caracteres até o último antes do caractere terminador especificado. O caractere terminador não é movido para o buffer.
1814

1915
`Serial.readBytesUntil()` retorna o número de caracteres colocados no buffer. Um valor 0 indica que dados não foram encontrados.
2016

0 commit comments

Comments
 (0)