@@ -62,12 +62,12 @@ Preferences directly supports the following data types:
62
62
+-------------------+-------------------+---------------+
63
63
| ULong | uint32_t | 4 |
64
64
+-------------------+-------------------+---------------+
65
+ | Float | float_t | 4 |
66
+ +-------------------+-------------------+---------------+
65
67
| Long64 | int64_t | 8 |
66
68
+-------------------+-------------------+---------------+
67
69
| ULong64 | uint64_t | 8 |
68
70
+-------------------+-------------------+---------------+
69
- | Float | float_t | 8 |
70
- +-------------------+-------------------+---------------+
71
71
| Double | double_t | 8 |
72
72
+-------------------+-------------------+---------------+
73
73
| | const char* | variable |
@@ -258,6 +258,8 @@ Arduino-esp32 Preferences API
258
258
``putInt, putUInt ``
259
259
********************
260
260
``putLong, putULong ``
261
+ **********************
262
+ ``putFloat ``
261
263
**********************
262
264
263
265
Store a value against a given key in the currently open namespace.
@@ -268,6 +270,7 @@ Arduino-esp32 Preferences API
268
270
size_t putUInt(const char* key, uint32_t value)
269
271
size_t putLong(const char* key, int32_t value)
270
272
size_t putULong(const char* key, uint32_t value)
273
+ size_t putFloat(const char* key, float_t value)
271
274
272
275
..
273
276
@@ -288,16 +291,15 @@ Arduino-esp32 Preferences API
288
291
289
292
``putLong64, putULong64 ``
290
293
*************************
291
- ``putFloat, putDouble ``
292
- ***********************
294
+ ``putDouble ``
295
+ *************************
293
296
294
297
Store a value against a given key in the currently open namespace.
295
298
296
299
.. code-block :: arduino
297
300
298
301
size_t putLong64(const char* key, int64_t value)
299
302
size_t putULong64(const char* key, uint64_t value)
300
- size_t putFloat(const char* key, float_t value)
301
303
size_t putDouble(const char* key, double_t value)
302
304
303
305
..
0 commit comments