arduino/SizeOfTest/SizeOfTest.ino

17 lines
262 B
Arduino
Raw Normal View History

2018-07-06 16:18:47 +00:00
void setup() {
Serial.begin(9600);
Serial.print("Size of int: ");
Serial.println(sizeof(int));
Serial.print("Size of float: ");
Serial.println(sizeof(float));
Serial.print("Size of bool: ");
Serial.println(sizeof(bool));
}
void loop() {
}