Discuss what is meant by array processing and include practi
Discuss what is meant by array processing and include practical uses for arrays in microcontroller applications programming.
Solution
Array is a set of elements stored under the same name. Each element of the array can be individually addressed by using the index of the element in brackets after the array name. Arrays can be easily read and processed. Arrays can be passed to functions without modifying the original array, the array can be processed in the function.
Arrays can be single or two-dimensional. Two dimensional arrays are used for matrix manipulations.
Arrays and array processing is done in microcontrollers in the same way as it is done in C or assembly language programming.
Application of arrays in microcontroller programming includes swapping of data, shifting and rotating of data, etc.
