Skip to content

Commit 1154ac3

Browse files
committed
Change output format to be compatible with the Serial Monitor
1 parent e8c79e2 commit 1154ac3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

HeapFragmentation/HeapFragmentation.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ void loop() {
3737
s = generateRandomString();
3838
}
3939

40-
Serial.print(getTotalAvailableMemory());
41-
Serial.print(' ');
42-
Serial.print(getLargestAvailableBlock());
43-
Serial.print(' ');
40+
Serial.print("fragmentation:");
4441
Serial.print(getFragmentation());
4542
Serial.println();
43+
delay(20);
4644
}
4745

4846
// Generates a string whose length is picked randomly between SMALLEST_STRING

0 commit comments

Comments
 (0)