Skip to content

Commit c343f2b

Browse files
committed
Merge branch 'hotfix/0.1.2' into develop
2 parents 5fa7f2b + 687acec commit c343f2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Have you ever wanted to transmit `int`,`short`,`long`,`double` or any other numeric type over I2C,SPI,serial or other protocol or bus, but you converted variable to string to be able to transmit it char by char. This library enables you to convert any numeric value to bytes or other way around and you can also print array of bytes.
77

88
## What you need to consider, when you are using this library
9-
When you are using this library, you need to consider variable byte size, because if you are using different platform, then there may be some errors, because int on platform 1 has 4 bytes and int on platform 2 has 2 bytes.
9+
When you are using this library, you need to consider variable byte size, because if you are using different platforms, then there may be some errors, because int on platform 1 has 4 bytes and int on platform 2 may has 2 bytes.
1010

1111
## Examples
1212
Convert numeric variable for eg. `int`,`short`,`float`,`double` to array of bytes.
@@ -49,7 +49,7 @@ Convert string of hex characters to array of bytes
4949
``` c++
5050
String somevar = ""; // Predefined string
5151
size_t blk_size = 0;
52-
uint8_t *block ByteConvert::stringToArray(blk_size,somevar);
52+
uint8_t *block = ByteConvert::stringToArray(blk_size,somevar);
5353

5454
// Use block
5555

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ByteConvert
2-
version=0.1.1
2+
version=0.1.2
33
author=Martin Dagarin
44
maintainer=Martin Dagarin <SloCompTech@gmail.com>
55
sentence=Library for converting variables to bytes and reverse

0 commit comments

Comments
 (0)