A function is a separate set of blocks of code. It has its own identifier (or name) and it does not run on an action e.g. on start, when button pressed. It runs when it is called by name, from another part of the program. When the function finishes, it returns to the part of the program that called it and continues. IN this module we will explore how to create functions and why they make coding more modular and more efficient.
Want more from Arm Education? Follow the links below:
Twitter: https://twitter.com/armeducation
Facebook: https://www.facebook.com/armeducation/
Keep up to date with all our latest releases: https://www.arm.com/resources/education
Download
0 formats
No download links available.
Introduction to Computing with micro:bit - Module 18: Functions | NatokHD