... | ... | @@ -94,7 +94,10 @@ LCD.drawString("Turn right", 0, 1); |
|
|
This resulted in the memory usage as seen in table 3.
|
|
|
|
|
|
![Table 3](http://gitlab.au.dk/uploads/group-22/lego/63e7105f45/Table_3.jpg)
|
|
|
|
|
|
Table 3
|
|
|
|
|
|
|
|
|
We can see there is a difference between using a string directly and a predetermined variable when writing to the LCD screen. The memory usage of the direct input was somewhat higher than the predetermined variable, as depicted on the graph, where it is observable that the time between the graphs’ minimums and maximums are different. The sudden drop of memory use can indicate there is a garbage collector clearing the memory.
|
|
|
|
|
|
## Conclusion |
|
|
\ No newline at end of file |