learn-arduino-with-me-04

Data Types

  • void
  • boolean
  • char
  • unsigned char
  • byte, A byte stores an 8-bit unsigned number, from 0 to 255.
  • int
  • unsigned int
  • word, On the Uno and other ATMEGA based boards, a word stores a 16-bit unsigned number. On the Due and Zero instead it stores a 32-bit unsigned number.
  • long
  • unsigned long
  • short
  • float
  • double
  • string - char array
  • String - object
  • array

Conversion

  • char()
  • byte()
  • int()
  • word()
  • long()
  • float()