... | ... | @@ -78,6 +78,7 @@ Here we see how the heap gets filled during the executions and is cleared when t |
|
|
We see how the heap is filled faster when executing the program using strings directly, compared to the program that uses variables. This indicates that the program does not have a direct reference the the strings if not stored in a variable, and therefore allocates space on the heap for the strings each time they are used.
|
|
|
|
|
|
## Conclusion
|
|
|
In conclusion, we have solved the 6 exercies we set out to do. Overall, we have gained knowledge of our first proportional-control program, and have gained insight in how the light sensor module for the nxt works.
|
|
|
|
|
|
## References
|
|
|
[1] http://legolab.cs.au.dk/DigitalControl.dir/NXT/Lesson1.dir/Lesson.html |
|
|
\ No newline at end of file |