Skip to content

Commit 2764a0a

Browse files
authored
Merge branch 'master' into fix-example-code-formatting
2 parents 97651ad + 3a22130 commit 2764a0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+65
-68
lines changed

AsciiDoc_sample/AsciiDoc_Dictionary/AsciiDoc_Template-Dictionary.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// This is a documentation file for authors and editors of the Arduino Manutius content platform.
55
// Below you can find a list of all the possible page elements with the corresponding
6-
// AsciiDoc syntax
6+
// AsciiDoc syntax
77

88

99
// GENERAL GUIDELINES
@@ -99,10 +99,10 @@ mailto:[email protected][This is an e-mail link]
9999
This is `code` in a sentence +
100100
`This is a whole line of code` +
101101

102-
// HINT: Please note that sometimes when copy-pasting code a few spaces can be added at the beginnng of each line of code.
102+
// HINT: Please note that sometimes when copy-pasting code a few spaces can be added at the beginnng of each line of code.
103103
// If that happens, please remove the extra spaces. Thanks!
104104

105-
This can be a lot more code
105+
This can be a lot more code
106106
[source,arduino]
107107
----
108108
for (int i = 0; i <= 99; i++) {
@@ -115,7 +115,7 @@ for (int i = 0; i <= 99; i++) {
115115

116116
// TABLES
117117
|===
118-
|Name of Column 1 |Name of Column 2 |Name of Column 3
118+
|Name of Column 1 |Name of Column 2 |Name of Column 3
119119

120120
|Cell in column 1, row 1
121121
|Cell in column 2, row 1
@@ -135,7 +135,7 @@ for (int i = 0; i <= 99; i++) {
135135

136136
// IMAGES
137137

138-
// If you need to add an image to the Asciidoc please create a folder called 'attachments' in the same directory as the Asciidoc file,
138+
// If you need to add an image to the Asciidoc please create a folder called 'attachments' in the same directory as the Asciidoc file,
139139
// place the image there and reference it as shown below. Images can be in SVG and PNG format, max size 200KB.
140140

141141
// To include an image on its own line (i.e., a block image), use the image:: prefix in front of the file name and square brackets after it []

AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Parent_Of_Entities.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Parent of Entity Title
3-
categories: [ "Functions" ]
3+
categories: [ "Functions" ]
44
subCategories: [ "Subcategory Name" ]
55
---
66
// ARDUINO LANGUAGE REFERENCE TAG (above) ►►►►► ALWAYS INCLUDE IN YOUR FILE ◄◄◄◄◄
@@ -78,7 +78,7 @@ http://arduino.cc[serialEvent()]
7878

7979
[float]
8080
=== See also
81-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
81+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
8282
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
8383
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
8484

AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Single_Entity.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="
106106

107107
[float]
108108
=== See also
109-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
109+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
110110
// definitions: (please add the tag #DEFINITION#), and examples of Projects and Tutorials
111111
// examples: (please add the tag #EXAMPLE#)
112112

@@ -116,7 +116,7 @@ image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="
116116
// use the syntax shown below. Please note that the file format is subsituted by attribute.
117117
// Please note that you always need to replace spaces that you might find in folder/file names with %20
118118
// The entire link to Reference pages must be lower case, regardless of the case of the folders and files in this repository.
119-
// For language tag, items will be automatically generated for any other item of the same subcategory,
119+
// For language tag, items will be automatically generated for any other item of the same subcategory,
120120
// no need to add links to other pages of the same subcategory
121121
// if you don't include this section, a minimal version with only the other pages of the same subcategory will be generated.
122122
* #LANGUAGE# link:../AsciiDoc_Template-Parent_Of_Entities[Parent Of Entities]

Language/Functions/Advanced IO/shiftOut.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ void loop() {
8989
for (int j = 0; j < 256; j++) {
9090
//coloca e mantém o pino latch em low enquanto ocorre a transmissão
9191
digitalWrite(latchPin, LOW);
92-
92+
9393
//transmite o valor de j, a começar pelo bit menos significativo
9494
shiftOut(dataPin, clockPin, LSBFIRST, j);
95-
95+
9696
//retorna o pino latch para high para sinalizar ao chip
9797
//que esse não precisa mais esperar por informação
9898
digitalWrite(latchPin, HIGH);

Language/Functions/Advanced IO/tone.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Se você quiser tocar tons diferentes em múltiplos pinos, você precisa chamar
7878

7979
[role="example"]
8080
* #EXEMPLO# http://arduino.cc/en/Tutorial/Tone[Tone^]
81-
* #EXEMPLO# http://arduino.cc/en/Tutorial/Tone[Pitch follower^]
81+
* #EXEMPLO# http://arduino.cc/en/Tutorial/tonePitchFollower[Pitch follower^]
8282
* #EXEMPLO# http://arduino.cc/en/Tutorial/Tone3[Simple Keyboard^]
8383
* #EXEMPLO# http://arduino.cc/en/Tutorial/Tone4[multiple tones^]
8484
* #EXEMPLO# http://arduino.cc/en/Tutorial/PWM[PWM^]

Language/Functions/Analog IO/analogRead.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ subCategories: [ "Entradas e Saídas Analógicas" ]
1212

1313
[float]
1414
=== Descrição
15-
Lê o valor de um pino analógico especificado. A placa Arduino possui um conversor analógico-digital 10 bts de 6 canais (8 canais nos Mini e Nano, 16 no Mega, 7 canais em placas MKR). Isso significa que este irá mapear tensões entre 0 e a tensão operacional (5V or 3.3V) para valores inteiros entre 0 e 1023. No Arduino UNO, por exemplo, isso permite uma resolução entre leituras de: 5 volts / 1024 unidades, ou .0049 volts (4.9 mV) por unidade. Veja a tabela abaixo para os pinos utilizáveis, tensão de operação e resolução máxima para algumas placas Arduino.
15+
Lê o valor de um pino analógico especificado. A placa Arduino possui um conversor analógico-digital 10 bts de 6 canais (8 canais nos Mini e Nano, 16 no Mega, 7 canais em placas MKR). Isso significa que este irá mapear tensões entre 0 e a tensão operacional (5V or 3.3V) para valores inteiros entre 0 e 1023. No Arduino UNO, por exemplo, isso permite uma resolução entre leituras de: 5 volts / 1024 unidades, ou .0049 volts (4.9 mV) por unidade. Veja a tabela abaixo para os pinos utilizáveis, tensão de operação e resolução máxima para algumas placas Arduino.
1616

1717
O intervalo de entrada pode ser mudado atrvés da função link:../analogreference[analogReference()], enquanto a resolução pode ser mudada (apenas nas placas Zero, Due e MKR) usando-se link:../../zero-due-mkr-family/analogreadresolution[analogReadResolution()].
1818

Language/Functions/Analog IO/analogReference.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Placas Arduino AVR (Uno, Mega, etc.)
3232
Placas Arduino SAMD (Zero, etc.)
3333

3434
* AR_DEFAULT: a referência analógica padrão de 3.3V
35-
* AR_INTERNAL: uma referência integrada de 2.23V
35+
* AR_INTERNAL: uma referência integrada de 2.23V
3636
* AR_INTERNAL1V0: uma referência integrada de 1.0V
3737
* AR_INTERNAL1V65: uma referência integrada de 1.65V
3838
* AR_INTERNAL2V23: uma referência integrada de 2.23V

Language/Functions/Bits and Bytes/bitWrite.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Escreve em um bit especificado de um valor numérico.
2828

2929
[float]
3030
=== Parâmetros
31-
`x`: a variável numérica cujo bit se deseja escrever
31+
`x`: a variável numérica cujo bit se deseja escrever
3232

3333
`n`: qual bit do número a ser escrito, começando em 0 para o bit menos significativo (mais à direita)
3434

Language/Functions/Characters/isAlpha.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se um caractere é alfabético (isto é, se é uma letra). Retorna true (verdadeiro) se thisChar contém uma letra.
20+
Analisa se um caractere é alfabético (isto é, se é uma letra). Retorna true (verdadeiro) se thisChar contém uma letra.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isAlphaNumeric.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se um caractere é alfanumérico (isto é, uma letra ou um número). Retorna true (verdadeiro) se thisChar contém ou uma letra ou um número.
20+
Analisa se um caractere é alfanumérico (isto é, uma letra ou um número). Retorna true (verdadeiro) se thisChar contém ou uma letra ou um número.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isAscii.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se um caractere é Ascii. Retorna true se a variável thisChar contém um caractere Ascii.
20+
Analisa se um caractere é Ascii. Retorna true se a variável thisChar contém um caractere Ascii.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isControl.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é um caractere de controle. Retorna true (verdadeiro) se thisChar é um caractere de controle.
20+
Analisa se uma caractere é um caractere de controle. Retorna true (verdadeiro) se thisChar é um caractere de controle.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isDigit.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é um digito (isto é, um número). Retorna true (verdadeiro) se thisChar é um número.
20+
Analisa se uma caractere é um digito (isto é, um número). Retorna true (verdadeiro) se thisChar é um número.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isGraph.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se um caractere é imprimível com algum conteúdo (espaços são imprimíveis, mas não possuem conteúdo). Retorna true se thisChar é imprimível.
20+
Analisa se um caractere é imprimível com algum conteúdo (espaços são imprimíveis, mas não possuem conteúdo). Retorna true se thisChar é imprimível.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isHexadecimalDigit.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é um digito hexadecimal (A-F, 0-9). Retorna true se thisChar contém um digito hexadecimal.
20+
Analisa se uma caractere é um digito hexadecimal (A-F, 0-9). Retorna true se thisChar contém um digito hexadecimal.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isLowerCase.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é minúsculo (isto é, uma letra minúscula). Retorna true se thisChar contém uma letra minúscula.
20+
Analisa se uma caractere é minúsculo (isto é, uma letra minúscula). Retorna true se thisChar contém uma letra minúscula.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isPrintable.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é imprimível (isto é, qualquer caractere que produz uma saída, até mesmo um espaço). Retorna true se thisChar é imprimível. Por impimível diz-se os caracteres que pode ser impressos, como letras e números. Alguns caracteres são para controle e não podem ser impressos como o new line (`'\n'`) e o tab (`'\t'`).
20+
Analisa se uma caractere é imprimível (isto é, qualquer caractere que produz uma saída, até mesmo um espaço). Retorna true se thisChar é imprimível. Por impimível diz-se os caracteres que pode ser impressos, como letras e números. Alguns caracteres são para controle e não podem ser impressos como o new line (`'\n'`) e o tab (`'\t'`).
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isPunct.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é pontuação (isto é, uma vírgula, um ponto-e-vírgula, um ponto de exlamação etc). Retorna true se thisChar é um caractere de pontuação.
20+
Analisa se uma caractere é pontuação (isto é, uma vírgula, um ponto-e-vírgula, um ponto de exlamação etc). Retorna true se thisChar é um caractere de pontuação.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isSpace.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se uma caractere é o caractere de espaço. Retorna true se thisChar contém um espaço.
20+
Analisa se uma caractere é o caractere de espaço. Retorna true se thisChar contém um espaço.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isWhitespace.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ subCategories: [ "Caracteres" ]
1717

1818
[float]
1919
=== Descrição
20-
Analisa se um caractere é um espaço em branco, isto é o próprio caractere de espaço (' '), formfeed ('\f'), nova linha ('\n'), retorno ('\r'), tab horizontal tab ('\t') e tab vertical ('\v')).
21-
Retorna true se thisChar contém um espaço em branco.
20+
Analisa se um caractere é um espaço em branco, isto é o próprio caractere de espaço (' '), formfeed ('\f'), nova linha ('\n'), retorno ('\r'), tab horizontal tab ('\t') e tab vertical ('\v')).
21+
Retorna true se thisChar contém um espaço em branco.
2222
[%hardbreaks]
2323

2424

Language/Functions/Communication/Serial/available.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: Serial.available()
1111

1212
[float]
1313
=== Descrição
14-
Retorna o número de bytes (caracteres) disponíveis para leitura da porta serial. Esses são dados que já chegaram e foram guardados no buffer de recebimento (o qual armazena 64 bytes).
14+
Retorna o número de bytes (caracteres) disponíveis para leitura da porta serial. Esses são dados que já chegaram e foram guardados no buffer de recebimento (o qual armazena 64 bytes).
1515

1616
A função `Serial.available()` é herdada da classe link:../../stream[Stream].
1717
[%hardbreaks]

Language/Functions/Communication/Serial/end.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Desativa a comunicação serial, permitindo os pinos RX e TX serem usados novame
2222
`_Serial_`: objeto porta serial. Veja a lista de portas seriais disponíveis em cada placa no link:../../serial[Serial - Página principal]
2323

2424
[float]
25-
=== Retorna
25+
=== Retorna
2626
Nada
2727

2828
--

Language/Functions/Communication/Serial/flush.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Nada
3737
--
3838

3939
[float]
40-
=== Ver Também
40+
=== Ver Também
4141

4242
[role="language"]
4343
#LINGUAGEM# link:../begin[begin()] +

Language/Functions/Communication/Serial/println.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ O código abaixo faz a leitura de um valor analógico a cada 10 ms e imprime ess
4848
Tradução em 29 de Novembro de 2017
4949
*/
5050
51-
int analogValue = 0; // variável para guardar a leitura analógica
51+
int analogValue = 0; // variável para guardar a leitura analógica
5252
5353
void setup() {
5454
// abre a porta serial a 9600 bps:

Language/Functions/Communication/Serial/read.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Serial.read()
1010

1111
[float]
1212
=== Descrição
13-
Lê dados recebidos na porta serial.
13+
Lê dados recebidos na porta serial.
1414

1515
A função `Serial.read()` é herdada da classe link:../../stream[Stream].
1616
[%hardbreaks]

Language/Functions/Communication/Serial/serialEvent.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Nada
8888
#LINGUAGEM# link:../flush[flush()] +
8989
#LINGUAGEM# link:../print[print()] +
9090
#LINGUAGEM# link:../println[println()] +
91-
#LINGUAGEM# link:../write[write()]
91+
#LINGUAGEM# link:../write[write()]
9292

9393
--
9494
// SEE ALSO SECTION ENDS

Language/Functions/Communication/Serial/write.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Escreve dados binários na porta serial. Esses dados são enviados como um byte
3636

3737
O número de bytes escritos na porta serial - `size_t`
3838

39-
`write()` irá retornar o número de bytes escritos, apesar de ler esse valor ser opcional
39+
`write()` irá retornar o número de bytes escritos, apesar de ler esse valor ser opcional
4040

4141
--
4242
// OVERVIEW SECTION ENDS
@@ -50,7 +50,7 @@ O número de bytes escritos na porta serial - `size_t`
5050
[float]
5151
=== Código de Exemplo
5252
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
53-
O código abaixo usa a função Serial.write() para escrever um valor e uma string na porta serial.
53+
O código abaixo usa a função Serial.write() para escrever um valor e uma string na porta serial.
5454

5555
[source,arduino]
5656
----

Language/Functions/Communication/Stream/streamParseFloat.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: Stream.parseFloat()
1414

1515
[float]
1616
=== Descrição
17-
`parseFloat()` retorna o primeiro número de ponto flutuante da posição atual. Caracteres iniciais que não são digitos (ou o sinal de menos) são ignorados. `parseFloat()` é terminada pelo primeiro caractere que não é um digito encontrado após o número. A função retorna se acabar o tempo limite (veja ../streamsettimeout[Stream.setTimeout()]).
17+
`parseFloat()` retorna o primeiro número de ponto flutuante da posição atual. Caracteres iniciais que não são digitos (ou o sinal de menos) são ignorados. `parseFloat()` é terminada pelo primeiro caractere que não é um digito encontrado após o número. A função retorna se acabar o tempo limite (veja ../streamsettimeout[Stream.setTimeout()]).
1818

1919
Essa função é parte da classe Stream, e pode ser chamada por qualquer classe que herda da mesma (Wire, Serial, etc). Veja a página principal da link:../../stream[classe Stream] para mais informações.
2020
[%hardbreaks]

Language/Functions/Digital IO/pinMode.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Desde a versão 1.0.1, é possível ativar os resistores internos de pull-up com
3131
=== Parâmetros
3232
`pino`: the número do pino o qual se quer escolher o modo
3333

34-
`modo`: o modo do pino. Este pode ser `INPUT`, `OUTPUT` ou `INPUT_PULLUP`; que correspondem respectivamente a entrada, saída e entrada com pull-up ativado.
34+
`modo`: o modo do pino. Este pode ser `INPUT`, `OUTPUT` ou `INPUT_PULLUP`; que correspondem respectivamente a entrada, saída e entrada com pull-up ativado.
3535

3636
//Check how to add links
3737

Language/Functions/Math/constrain.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ b: se x é maior que b
5151
[float]
5252
=== Código de Exemplo
5353
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
54-
O código limita os valores de uma variável com a leitura de um sensor entre 10 e 150.
54+
O código limita os valores de uma variável com a leitura de um sensor entre 10 e 150.
5555

5656
[source,arduino]
5757
----

Language/Functions/Random Numbers/random.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A função `random()` gera números pseudoaleatórios.
2020

2121
[float]
2222
=== Sintaxe
23-
`random(max)`
23+
`random(max)`
2424
`random(min, max)`
2525

2626

Language/Functions/USB/Keyboard.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ subCategories: [ "USB" ]
1414

1515
[float]
1616
=== Descrição
17-
As funções da biblioteca Keyboard permitem placas baseadas nos micros 32u4 ou SAMD funcionar como um teclado e enviar sinais de teclas pressionadas a um computador conectado através da porta micro USB nativa.
17+
As funções da biblioteca Keyboard permitem placas baseadas nos micros 32u4 ou SAMD funcionar como um teclado e enviar sinais de teclas pressionadas a um computador conectado através da porta micro USB nativa.
1818
[%hardbreaks]
1919
*Nota: Nem todo caractere ASCII, particularmente os não imprimíveis, podem ser enviados com a biblioteca Keyboard.* +
2020
A biblioteca suporta o uso de teclas modificadoras. Teclas modificadoras mudam o comportamento de outra tecla quando pressionadas simultaneamente. link:../keyboard/keyboardmodifiers[Veja aqui] informações adicionais sobre as teclas suportadas e seu uso.
@@ -28,7 +28,7 @@ As bibliotecas core permitem as placas baseadas nos micros 32u4 e SAMD (Leonardo
2828
[%hardbreaks]
2929
*Uma nota as bibliotecas Mouse e Keyboard*: se a biblioteca Mouse ou Keyboard estiver rodando constantemente, será difícil programar a sua placa. Funções como `Mouse.move()` e `Keyboard.print()` irão mover o cursor ou enviar teclas ao computador conectado e devem ser chamadas apenas quando você estiver pronto para usá-las. É recomendado se usar um sistema de controle para ativar a funcionalidade USB, como um botão físico ou apenas responder a entradas específicas que você pode controlar.Confira os exemplos sobre as bibliotecas Mouse e Keyboard para algumas formas de fazer isso.
3030
[%hardbreaks]
31-
Quando usar as bibliotecas Mouse ou Keyboard, pode ser melhor testar sua saída primeiro utilizando link:../../communication/serial/print[Serial.print()]. Dessa forma, você pode ter certeza de quais valores estão sendo relatados.
31+
Quando usar as bibliotecas Mouse ou Keyboard, pode ser melhor testar sua saída primeiro utilizando link:../../communication/serial/print[Serial.print()]. Dessa forma, você pode ter certeza de quais valores estão sendo relatados.
3232
[%hardbreaks]
3333
// FUNCTIONS SECTION STARTS
3434
[#functions]

Language/Functions/USB/Mouse.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ As bibliotecas core permitem as placas baseadas nos micros 32u4 e SAMD (Leonardo
2626
[%hardbreaks]
2727
*Uma nota as bibliotecas Mouse e Keyboard*: se a biblioteca Mouse ou Keyboard estiver rodando constantemente, será difícil programar a sua placa. Funções como `Mouse.move()` e `Keyboard.print()` irão mover o cursor ou enviar teclas ao computador conectado e devem ser chamadas apenas quando você estiver pronto para usá-las. É recomendado se usar um sistema de controle para ativar a funcionalidade USB, como um botão físico ou apenas responder a entradas específicas que você pode controlar. Confira os exemplos sobre as bibliotecas Mouse e Keyboard para algumas formas de fazer isso.
2828
[%hardbreaks]
29-
Quando usar as bibliotecas Mouse ou Keyboard, pode ser melhor testar sua saída primeiro utilizando link:../../communication/serial/print[Serial.print()]. Dessa forma, você pode ter certeza de quais valores estão sendo relatados.
29+
Quando usar as bibliotecas Mouse ou Keyboard, pode ser melhor testar sua saída primeiro utilizando link:../../communication/serial/print[Serial.print()]. Dessa forma, você pode ter certeza de quais valores estão sendo relatados.
3030
[%hardbreaks]
3131
// FUNCTIONS SECTION STARTS
3232
[#functions]

Language/Structure/Comparison Operators/greaterThan.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if (x > y) { // testa se x é maior que y
5050

5151
[float]
5252
=== Notas e Advertências
53-
Números positivos são maiores que números negativos.
53+
Números positivos são maiores que números negativos.
5454
[%hardbreaks]
5555

5656
--

0 commit comments

Comments
 (0)