Browse Source

Add sizeof test

master
Starbeamrainbowlabs 3 years ago
parent
commit
11608c4dcf
Signed by: sbrl GPG Key ID: 1BE5172E637709C2
  1. 16
      SizeOfTest/SizeOfTest.ino

16
SizeOfTest/SizeOfTest.ino

@ -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() {
}
Loading…
Cancel
Save