File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,16 @@ Preferences directly supports the following data types:
70
70
+-------------------+-------------------+---------------+
71
71
| ULong | uint32_t | 4 |
72
72
+-------------------+-------------------+---------------+
73
+ | Float | float_t | 4 |
74
+ +-------------------+-------------------+---------------+
73
75
| Long64 | int64_t | 8 |
74
76
+-------------------+-------------------+---------------+
75
77
| ULong64 | uint64_t | 8 |
76
78
+-------------------+-------------------+---------------+
77
- | Float | float_t | 8 |
78
- +-------------------+-------------------+---------------+
79
79
| Double | double_t | 8 |
80
80
+-------------------+-------------------+---------------+
81
- | | const char* | |
82
- | String +-------------------+ variable |
81
+ | | const char* | variable |
82
+ | String +-------------------+ |
83
83
| | String | |
84
84
+-------------------+-------------------+---------------+
85
85
| Bytes | uint8_t | variable |
@@ -233,9 +233,9 @@ Like so:
233
233
234
234
.. code-block :: arduino
235
235
236
- float myFloat = myPreferences.getFloat("pi");
236
+ float_t myFloat = myPreferences.getFloat("pi");
237
237
238
- This will retrieve the float value from the namespace key ``"pi" `` and assign it to the float type variable ``myFloat ``.
238
+ This will retrieve the float_t value from the namespace key ``"pi" `` and assign it to the float_t type variable ``myFloat ``.
239
239
240
240
241
241
Summary
You can’t perform that action at this time.
0 commit comments