diff --git a/Language/Functions/Characters/isAlpha.adoc b/Language/Functions/Characters/isAlpha.adoc index 7a66187..5917f58 100644 --- a/Language/Functions/Characters/isAlpha.adoc +++ b/Language/Functions/Characters/isAlpha.adoc @@ -1,82 +1,82 @@ ---- -title: "isAlpha()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isAlpha(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se um caractere é alfabético (isto é, se é uma letra). Retorna true (verdadeiro) se thisChar contém uma letra. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isAlpha(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um caractere alfabético. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo -O código a seguir testa se uma variável chamada this é uma letra. -[source,arduino] ----- -if (isAlpha(this)) // testa se a variável this é uma letra -{ - Serial.println("The character is alpha"); -} -else -{ - Serial.println("The character is not alpha"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -#LINGUAGEM# link:../../../variables/data-types/char[char] -#LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -#LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -#LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isAlpha()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isAlpha(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se um caractere é alfabético (isto é, se é uma letra). Retorna true (verdadeiro) se thisChar contém uma letra. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isAlpha(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um caractere alfabético. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo +O código a seguir testa se uma variável chamada this é uma letra. +[source,arduino] +---- +if (isAlpha(this)) // testa se a variável this é uma letra +{ + Serial.println("The character is alpha"); +} +else +{ + Serial.println("The character is not alpha"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +#LINGUAGEM# link:../../../variables/data-types/char[char] +#LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +#LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +#LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isAlphaNumeric.adoc b/Language/Functions/Characters/isAlphaNumeric.adoc index d4b2b52..e3607ee 100644 --- a/Language/Functions/Characters/isAlphaNumeric.adoc +++ b/Language/Functions/Characters/isAlphaNumeric.adoc @@ -1,82 +1,82 @@ ---- -title: "isAlphaNumeric()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isAlphaNumeric(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -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. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isAlphaNumeric(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se a variável thisChar é uma letra ou um número.. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isAlphaNumeric(this)) // testa se this é uma letra ou um número -{ - Serial.println("The character is alphanumeric"); -} -else -{ - Serial.println("The character is not alphanumeric"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isAlphaNumeric()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isAlphaNumeric(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +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. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isAlphaNumeric(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se a variável thisChar é uma letra ou um número.. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isAlphaNumeric(this)) // testa se this é uma letra ou um número +{ + Serial.println("The character is alphanumeric"); +} +else +{ + Serial.println("The character is not alphanumeric"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isAscii.adoc b/Language/Functions/Characters/isAscii.adoc index 1506903..26296d3 100644 --- a/Language/Functions/Characters/isAscii.adoc +++ b/Language/Functions/Characters/isAscii.adoc @@ -1,82 +1,82 @@ ---- -title: "isAscii()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isAscii(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se um caractere é Ascii. Retorna true se a variável thisChar contém um caractere Ascii. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isAscii(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um caractere Ascii. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isAscii(this)) // testa se this é um caractere Ascii -{ - Serial.println("The character is Ascii"); -} -else -{ - Serial.println("The character is not Ascii"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isAscii()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isAscii(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se um caractere é Ascii. Retorna true se a variável thisChar contém um caractere Ascii. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isAscii(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um caractere Ascii. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isAscii(this)) // testa se this é um caractere Ascii +{ + Serial.println("The character is Ascii"); +} +else +{ + Serial.println("The character is not Ascii"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isControl.adoc b/Language/Functions/Characters/isControl.adoc index 65c95d2..155f908 100644 --- a/Language/Functions/Characters/isControl.adoc +++ b/Language/Functions/Characters/isControl.adoc @@ -1,82 +1,82 @@ ---- -title: "isControl()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isControl(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é um caractere de controle. Retorna true (verdadeiro) se thisChar é um caractere de controle. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isControl(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um caractere de controle. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isControl(this)) // testa se a variável this é um caractere de controle -{ - Serial.println("The character is a control character"); -} -else -{ - Serial.println("The character is not a control character"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEME# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isControl()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isControl(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é um caractere de controle. Retorna true (verdadeiro) se thisChar é um caractere de controle. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isControl(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um caractere de controle. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isControl(this)) // testa se a variável this é um caractere de controle +{ + Serial.println("The character is a control character"); +} +else +{ + Serial.println("The character is not a control character"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEME# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isDigit.adoc b/Language/Functions/Characters/isDigit.adoc index 9051f1a..dc1a842 100644 --- a/Language/Functions/Characters/isDigit.adoc +++ b/Language/Functions/Characters/isDigit.adoc @@ -1,82 +1,82 @@ ---- -title: "isDigit()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isDigit(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é um digito (isto é, um número). Retorna true (verdadeiro) se thisChar é um número. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isDigit(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um número. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isDigit(this)) // testa se this é um digito -{ - Serial.println("The character is a number"); -} -else -{ - Serial.println("The character is not a number"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isDigit()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isDigit(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é um digito (isto é, um número). Retorna true (verdadeiro) se thisChar é um número. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isDigit(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um número. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isDigit(this)) // testa se this é um digito +{ + Serial.println("The character is a number"); +} +else +{ + Serial.println("The character is not a number"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isGraph.adoc b/Language/Functions/Characters/isGraph.adoc index 6a5b81c..6fca36c 100644 --- a/Language/Functions/Characters/isGraph.adoc +++ b/Language/Functions/Characters/isGraph.adoc @@ -1,82 +1,82 @@ ---- -title: "isGraph()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isGraph(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -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. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isGraph(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é imprimível. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isGraph(this)) // testa se this é um caractere imprimível mas não um espaço. -{ - Serial.println("The character is printable"); -} -else -{ - Serial.println("The character is not printable"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isGraph()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isGraph(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +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. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isGraph(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é imprimível. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isGraph(this)) // testa se this é um caractere imprimível mas não um espaço. +{ + Serial.println("The character is printable"); +} +else +{ + Serial.println("The character is not printable"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isHexadecimalDigit.adoc b/Language/Functions/Characters/isHexadecimalDigit.adoc index ea472ad..8e0e159 100644 --- a/Language/Functions/Characters/isHexadecimalDigit.adoc +++ b/Language/Functions/Characters/isHexadecimalDigit.adoc @@ -1,82 +1,82 @@ ---- -title: "isHexadecimalDigit()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isHexadecimalDigit(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é um digito hexadecimal (A-F, 0-9). Retorna true se thisChar contém um digito hexadecimal. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isHexadecimalDigit(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um digito hexadecimal. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isHexadecimalDigit(this)) // testa se this é um digito hexadecimal -{ - Serial.println("The character is an hexadecimal digit"); -} -else -{ - Serial.println("The character is not an hexadecimal digit"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #INGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isHexadecimalDigit()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isHexadecimalDigit(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é um digito hexadecimal (A-F, 0-9). Retorna true se thisChar contém um digito hexadecimal. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isHexadecimalDigit(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um digito hexadecimal. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isHexadecimalDigit(this)) // testa se this é um digito hexadecimal +{ + Serial.println("The character is an hexadecimal digit"); +} +else +{ + Serial.println("The character is not an hexadecimal digit"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #INGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isLowerCase.adoc b/Language/Functions/Characters/isLowerCase.adoc index 49972ac..d802f33 100644 --- a/Language/Functions/Characters/isLowerCase.adoc +++ b/Language/Functions/Characters/isLowerCase.adoc @@ -1,82 +1,82 @@ ---- -title: "isLowerCase()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isLowerCase(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é minúsculo (isto é, uma letra minúscula). Retorna true se thisChar contém uma letra minúscula. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isLowerCase(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é minúsculo. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isLowerCase(this)) // testa se this é uma letra minúscula -{ - Serial.println("The character is lower case"); -} -else -{ - Serial.println("The character is not lower case"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isLowerCase()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isLowerCase(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é minúsculo (isto é, uma letra minúscula). Retorna true se thisChar contém uma letra minúscula. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isLowerCase(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é minúsculo. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isLowerCase(this)) // testa se this é uma letra minúscula +{ + Serial.println("The character is lower case"); +} +else +{ + Serial.println("The character is not lower case"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isPrintable.adoc b/Language/Functions/Characters/isPrintable.adoc index 7bdf728..1b78bdd 100644 --- a/Language/Functions/Characters/isPrintable.adoc +++ b/Language/Functions/Characters/isPrintable.adoc @@ -1,82 +1,82 @@ ---- -title: "isPrintable()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isPrintable(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -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'`). -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isPrintable(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é imprimível. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isPrintable(this)) // testa se this é imprimível -{ - Serial.println("The character is printable"); -} -else -{ - Serial.println("The character is not printable"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isPrintable()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isPrintable(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +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'`). +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isPrintable(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é imprimível. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isPrintable(this)) // testa se this é imprimível +{ + Serial.println("The character is printable"); +} +else +{ + Serial.println("The character is not printable"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isPunct.adoc b/Language/Functions/Characters/isPunct.adoc index 0c58fc1..5029f3b 100644 --- a/Language/Functions/Characters/isPunct.adoc +++ b/Language/Functions/Characters/isPunct.adoc @@ -1,82 +1,82 @@ ---- -title: "isPunct()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isPunct(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -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. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isPunct(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um caractere de pontuação - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isPunct(this)) // testa se this é um caractere de pontuação -{ - Serial.println("The character is a punctuation"); -} -else -{ - Serial.println("The character is not a punctuation"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isPunct()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isPunct(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +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. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isPunct(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um caractere de pontuação + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isPunct(this)) // testa se this é um caractere de pontuação +{ + Serial.println("The character is a punctuation"); +} +else +{ + Serial.println("The character is not a punctuation"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isSpace.adoc b/Language/Functions/Characters/isSpace.adoc index 0341f51..413900f 100644 --- a/Language/Functions/Characters/isSpace.adoc +++ b/Language/Functions/Characters/isSpace.adoc @@ -1,82 +1,82 @@ ---- -title: "isSpace()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isSpace(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é o caractere de espaço. Retorna true se thisChar contém um espaço. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isSpace(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é o caractere de espaço. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isSpace(this)) // testa se this é o caractere de espaço -{ - Serial.println("The character is a space"); -} -else -{ - Serial.println("The character is not a space"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isSpace()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isSpace(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é o caractere de espaço. Retorna true se thisChar contém um espaço. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isSpace(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é o caractere de espaço. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isSpace(this)) // testa se this é o caractere de espaço +{ + Serial.println("The character is a space"); +} +else +{ + Serial.println("The character is not a space"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isUpperCase.adoc b/Language/Functions/Characters/isUpperCase.adoc index 73f64f4..c6e8646 100644 --- a/Language/Functions/Characters/isUpperCase.adoc +++ b/Language/Functions/Characters/isUpperCase.adoc @@ -1,82 +1,82 @@ ---- -title: "isUpperCase()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isUpperCase(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -Analisa se uma caractere é maiúsculo (isto é, uma letra maisúcula). Retorna true se thisChar é uma letra maiúscula. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isUpperCase(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é uma letra maiúscula. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isUpperCase(this)) // testa se this é uma letra maiúscula -{ - Serial.println("The character is upper case"); -} -else -{ - Serial.println("The character is not upper case"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isUpperCase()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isUpperCase(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +Analisa se uma caractere é maiúsculo (isto é, uma letra maisúcula). Retorna true se thisChar é uma letra maiúscula. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isUpperCase(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é uma letra maiúscula. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isUpperCase(this)) // testa se this é uma letra maiúscula +{ + Serial.println("The character is upper case"); +} +else +{ + Serial.println("The character is not upper case"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/Characters/isWhitespace.adoc b/Language/Functions/Characters/isWhitespace.adoc index fffa169..8d966b7 100644 --- a/Language/Functions/Characters/isWhitespace.adoc +++ b/Language/Functions/Characters/isWhitespace.adoc @@ -1,83 +1,83 @@ ---- -title: "isWhitespace()" -categories: [ "Functions" ] -subCategories: [ "Caracteres" ] ---- - - - - - -= isWhitespace(thisChar) - - -// OVERVIEW SECTION STARTS -[#overview] --- - -[float] -=== Descrição -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')). -Retorna true se thisChar contém um espaço em branco. -[%hardbreaks] - - -[float] -=== Sintaxe -[source,arduino] ----- -isWhitespace(thisChar) ----- - -[float] -=== Parâmetros -`thisChar`: variável. *Tipos de dados permitidos:* char - -[float] -=== Retorna -`true`: se thisChar é um caractere de espaço em branco. - --- -// OVERVIEW SECTION ENDS - - - -// HOW TO USE SECTION STARTS -[#howtouse] --- - -[float] -=== Código de Exemplo - -[source,arduino] ----- -if (isWhitespace(this)) // testa se this é um caractere de espaço em branco -{ - Serial.println("The character is a white space"); -} -else -{ - Serial.println("The character is not a white space"); -} - ----- - --- -// HOW TO USE SECTION ENDS - - -// SEE ALSO SECTION -[#see_also] --- - -[float] -=== Ver Também - -[role="language"] -* #LINGUAGEM# link:../../../variables/data-types/char[char] -* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] -* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] -* #LINGUAGEM# link:../../communication/serial/read[read()] - --- -// SEE ALSO SECTION ENDS +--- +title: "isWhitespace()" +categories: [ "Functions" ] +subCategories: [ "Caracteres" ] +--- + + + + + += isWhitespace(thisChar) + + +// OVERVIEW SECTION STARTS +[#overview] +-- + +[float] +=== Descrição +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')). +Retorna true se thisChar contém um espaço em branco. +[%hardbreaks] + + +[float] +=== Sintaxe +[source,arduino] +---- +isWhitespace(thisChar) +---- + +[float] +=== Parâmetros +`thisChar`: variável. *Tipos de dados permitidos:* char + +[float] +=== Retorna +`true`: se thisChar é um caractere de espaço em branco. + +-- +// OVERVIEW SECTION ENDS + + + +// HOW TO USE SECTION STARTS +[#howtouse] +-- + +[float] +=== Código de Exemplo + +[source,arduino] +---- +if (isWhitespace(this)) // testa se this é um caractere de espaço em branco +{ + Serial.println("The character is a white space"); +} +else +{ + Serial.println("The character is not a white space"); +} + +---- + +-- +// HOW TO USE SECTION ENDS + + +// SEE ALSO SECTION +[#see_also] +-- + +[float] +=== Ver Também + +[role="language"] +* #LINGUAGEM# link:../../../variables/data-types/char[char] +* #LINGUAGEM# link:../../../structure/control-structure/if[if (operadores condicionais)] +* #LINGUAGEM# link:../../../structure/control-structure/while[while (operadores condicionais)] +* #LINGUAGEM# link:../../communication/serial/read[read()] + +-- +// SEE ALSO SECTION ENDS diff --git a/Language/Functions/External Interrupts/detachInterrupt.adoc b/Language/Functions/External Interrupts/detachInterrupt.adoc index 82f67c0..1fa8d1b 100644 --- a/Language/Functions/External Interrupts/detachInterrupt.adoc +++ b/Language/Functions/External Interrupts/detachInterrupt.adoc @@ -18,14 +18,15 @@ Desativa a interrupção especificada. [float] === Sintaxe -`detachInterrupt()` + -`detachInterrupt(pino)` (Apenas Arduino Due) +`detachInterrupt(digitalPinToInterrupt(pino))` (Apenas placas Arduino AVR, recomendado) + +`detachInterrupt(interrupt)` (Apenas placas Arduino AVR, não recomendado) + +`detachInterrupt(pino)` (Apenas placas Arduino SAMD, Due e 101) [float] === Parâmetros `interrupt`: o número da interrupção a ser desativada (veja link:../attachinterrupt[attachInterrupt()] para mais detalhes). -`pino`: o número do pino da interrupção a ser desativada (apenas Arduino Due) +`pino`: o número do pino da interrupção a ser desativada [float] === Retorna