You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Arduinon tietotyypit

boolean          1 byte 0 to 1 (True or False)

byte               1 byte 0 to 255

char               1 byte -128 to 127

unsigned char 1 byte 0 to 255

int                  2 byte -32,768 to 32,767

unsigned int    2 byte 0 to 65,535

word              2 byte 0 to 65,535

long               4 byte unsigned long 4 byte 0 to 4,294,967,295

unsigned long 4 byte -2,147,483,648 to  2,147,483,647

float & double 4 byte -3.4028235E+38 to 3.4028235E+38

string             1 byte + x Arrays of chars

  • No labels
You must log in to comment.