Commit 23a64147 authored by deroo's avatar deroo
Browse files

fix typo in README

parent 44e8cf3e
......@@ -52,9 +52,9 @@ Serial.print(arrayInFlash[index]);
Declare arrays in flash is a two-step process.
The first step is to declare the array data type, and specify its scope.
This is done with a statement with a format of
NANO33BLE(\<datatype\>,\<arrayName\>);
NANO33BLE_DECLARE(\<datatype\>,\<arrayName\>);
such as
NANO33BLE(double,arrayInFlash);
NANO33BLE_DECLARE(double,arrayInFlash);
to declare an array of doubles named "arrayInFlash".
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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment