Skip to content

Commit 632f991

Browse files
authored
Update README.md with new version details
1 parent c855167 commit 632f991

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# SPIFlashLogger 2.2.0 #
1+
# SPIFlashLogger 2.2.1 #
22

33
The SPIFlashLogger library creates a circular log system which allows you to log any serializable object (table, array, string, blob, integer, float, boolean and `null`) to SPI flash connected to an imp. It works with either [**hardware.spiflash()**](https://developer.electricimp.com/api/hardware/spiflash) for SPI flash built into the imp003 or above, or any functionally compatible driver, such as the [SPIFlash library](https://developer.electricimp.com/libraries/hardware/spiflash), when working with the imp001 or imp002.
44

55
SPIFlashLogger uses the [Serializer library](https://developer.electricimp.com/libraries/utilities/serializer) or any other library for object serialization with an equivalent interface. Any libraries, used by the SPIFlashLogger must be added to your device code by `#require` statements (see the example under ‘Constructor’, below).
66

77
**Note** If the log system runs out of space in the SPI flash, it begins overwriting the oldest logs.
88

9-
**To add this library to your project, place the line** `#require "SPIFlashLogger.device.lib.nut:2.2.0"` **at the top of your device code.**
9+
**To add this library to your project, place the line** `#require "SPIFlashLogger.device.lib.nut:2.2.1"` **at the top of your device code.**
1010

1111
![Build Status](https://cse-ci.electricimp.com/app/rest/builds/buildType:(id:SpiFlashLogger_BuildAndTest)/statusIcon)
1212

@@ -37,7 +37,7 @@ SPIFlashLogger operates on 4KB sectors and 256-byte chunks. Objects need not be
3737
```squirrel
3838
// Initializing a SPIFlashLogger on an imp003+
3939
#require "Serializer.class.nut:1.0.0"
40-
#require "SPIFlashLogger.device.lib.nut:2.2.0"
40+
#require "SPIFlashLogger.device.lib.nut:2.2.1"
4141
4242
// Initialize Logger to use the entire SPI Flash
4343
logger <- SPIFlashLogger();
@@ -47,7 +47,7 @@ logger <- SPIFlashLogger();
4747
// Initializing a SPIFlashLogger on an imp002
4848
#require "Serializer.class.nut:1.0.0"
4949
#require "SPIFlash.class.nut:1.0.1"
50-
#require "SPIFlashLogger.device.lib.nut:2.2.0"
50+
#require "SPIFlashLogger.device.lib.nut:2.2.1"
5151
5252
// Setup SPI Bus
5353
spi <- hardware.spi257;

0 commit comments

Comments
 (0)