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

Lines changed: 5 additions & 5 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)