The first step is to declare the array data type, and specify its scope.
This is done with a statement with a format of
\<datatype\>*\<arrayName\>;
NANO33BLE(\<datatype\>,\<arrayName\>);
such as
double*arrayInFlash;
NANO33BLE(double,arrayInFlash);
to declare an array of doubles named "arrayInFlash".
The asterisk ( * ) before the array name is important.
The scope of the array is determined by where the declaration is made.
If outside of any function, the scope is global (all functions can see the array), while if it is inside a function, it will be seen only within that function , and others to which it is passed in function argument lists.
paragraph=This library enables Arduino Nano 33 BLE to use its onboard flash memory for storage of arrays. Thanks to Frank Holtz of arduino-NVM for inspiration.