Add sizeof test

This commit is contained in:
Starbeamrainbowlabs 2018-07-06 17:18:47 +01:00
parent 12c82944cc
commit 11608c4dcf
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

16
SizeOfTest/SizeOfTest.ino Normal file
View file

@ -0,0 +1,16 @@
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() {
}