A place for all the arduino code I write.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
331 B

void setup() {
Serial.begin(9600);
Serial.print("Size of int: ");
Serial.println(sizeof(int));
Serial.print("Size of long: ");
Serial.println(sizeof(long));
Serial.print("Size of float: ");
Serial.println(sizeof(float));
Serial.print("Size of bool: ");
Serial.println(sizeof(bool));
}
void loop() {
}