About 53,300 results
Open links in new tab
  1. string - Arduino Docs

    Nov 20, 2024 · Text strings can be represented in two ways. you can use the String data type, or you can make a string out of an array of type char and null-terminate it. This page described the latter method. For more details on the String object, which gives you more functionality at the cost of more memory, see the String object page.

  2. String() - Arduino Docs

    May 20, 2024 · String (val, decimalPlaces) Parameters. val: a variable to format as a String. Allowed data types: string char, byte, int, long, unsigned int, unsigned long, float, double. base: (optional) the base in which to format an integral value. decimalPlaces: only if val is float or double. The desired decimal places. Returns. An instance of the String ...

  3. declare string variable - Programming - Arduino Forum

    Jan 4, 2020 · I have been declaring string variables with String foo; I have been told on this forum the String object (with capital S) can "Break the Arduino". So how does one declare a string variable? With "char foo;"?

  4. string - Arduino Docs

    May 20, 2024 · String -Datentyp verwenden, der ab Version 0019 Teil des Kerns ist oder du kannst einen aus einem Array des Typs char erstellen und ihn mit einem Nullterminator abschließen.

  5. string - Arduino Reference

    Nov 8, 2024 · Text strings can be represented in two ways. you can use the String data type, or you can make a string out of an array of type char and null-terminate it. This page described the latter method. For more details on the String object, which gives you more functionality at the cost of more memory, see the String object page.

  6. String() - Arduino Reference

    Nov 8, 2024 · Constructs an instance of the String class. There are multiple versions that construct Strings from different data types (i.e. format them as sequences of characters), including: a constant string of characters, in double quotes (i.e. a char array)

  7. String Object Constructors - Arduino Docs

    Oct 2, 2024 · The String object allows you to manipulate strings of text in a variety of useful ways. You can append characters to Strings, combine Strings through concatenation, get the length of a String, search and replace substrings, and more. This tutorial shows you how to …

  8. String Addition Operator - Arduino Docs

    Oct 2, 2024 · String concatenation can be very useful when you need to display a combination of values and the descriptions of those values into one String to display via serial communication, on an LCD display, over an Ethernet connection, or anywhere that Strings are useful.

  9. String() | Arduino Documentation

    May 20, 2024 · String-Klasse. Es gibt mehrere Versionen, die Strings aus verschiedenen Datentypen erstellen (d. h. als Zeichenfolgen formatieren), darunter: Eine konstante Zeichenfolge in Anführungszeichen (d. h. ein Char-Array) Ein einzelnes konstantes Zeichen in einfachen Anführungszeichen; Eine andere Instanz des String-Objekts; Ein konstanter int oder ...

  10. string - Référence Arduino

    Nov 8, 2024 · Text strings can be represented in two ways. you can use the String data type, which is part of the core as of version 0019, or you can make a string out of an array of type char and null-terminate it. This page described the latter method.