Skip to content

Commit e1dfcf6

Browse files
committed
Merge branch 'master' of https://github.com/arduino/reference-pt
2 parents 9aa05c4 + ce4acf8 commit e1dfcf6

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

Language/Functions/Communication/Stream/streamPeek.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ O próximo byte (ou caractere), ou -1 se não há caracteres disponíveis.
3636
[#howtouse]
3737
--
3838

39-
[float]
4039
//=== Example Code
4140
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
4241

Language/Structure/Sketch/loop.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ categories: [ "Functions" ]
44
subCategories: [ "Sketch" ]
55
---
66

7-
8-
9-
10-
117
= loop()
128

139

@@ -37,7 +33,7 @@ int buttonPin = 3;
3733
// setup inicializa a porta serial e o pino para o botão
3834
void setup()
3935
{
40-
beginSerial(9600);
36+
Serial.begin(9600);
4137
pinMode(buttonPin, INPUT);
4238
}
4339
@@ -46,9 +42,9 @@ void setup()
4642
void loop()
4743
{
4844
if (digitalRead(buttonPin) == HIGH)
49-
serialWrite('H');
45+
Serial.write('H');
5046
else
51-
serialWrite('L');
47+
Serial.write('L');
5248
5349
delay(1000);
5450
}

Language/Variables/Data Types/byte.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Uma variável 'byte' armazena valores numéricos de 8-bit sem sinal, de 0 a 255.
2323
[#howtouse]
2424
--
2525

26-
[float]
2726
//=== Código de Exemplo
2827
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
2928

Language/Variables/Data Types/stringObject.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ String stringOne = String(5.698, 3); // usando um float e o n
116116
#LINGUAGEM# link:../string/functions/replace[replace()] +
117117
#LINGUAGEM# link:../string/functions/reserve[reserve()] +
118118
#LINGUAGEM# link:../string/functions/setcharat[setCharAt()] +
119-
#LINGUAGEM# link:../string/functions/startswith[StartsWith()] +
119+
#LINGUAGEM# link:../string/functions/startswith[startsWith()] +
120120
#LINGUAGEM# link:../string/functions/substring[substring()] +
121121
#LINGUAGEM# link:../string/functions/tochararray[toCharArray()] +
122122
#LINGUAGEM# link:../string/functions/toint[toInt()] +

0 commit comments

Comments
 (0)