Skip to content

Commit 3fd8a4d

Browse files
committed
Bump to version 0.4.1
1 parent 6d489a4 commit 3fd8a4d

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": "git",
1414
"url": "https://github.com/pstolarz/OneWireNg"
1515
},
16-
"version": "0.4.0",
16+
"version": "0.4.1",
1717
"homepage": "https://github.com/pstolarz/OneWireNg",
1818
"frameworks": "Arduino",
1919
"examples": [

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=OneWireNg
2-
version=0.4.0
2+
version=0.4.1
33
author=Piotr Stolarz
44
maintainer=Piotr Stolarz <pstolarz@o2.pl>
55
sentence=Arduino 1-wire service library

src/config.h

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,28 @@
4343
//#define CONFIG_FLASH_CRC8_TAB
4444

4545
/**
46-
* See @sa OneWireNg_BitBang::setGpioAsOutput() for more information
46+
* GPIO blink reveals as a short, unexpected low-high (or vice versa) state
47+
* change on the digital data wire. The GPIO blink (resulted of the internal
48+
* library logic) may occur if both of the following circumstances occur:
49+
*
50+
* 1. The driver is configured for parasitically powering slaves via GPIO
51+
* bit-banging (possible for non open-drain type of output).
52+
* 2. The underlying platform can't guarantee input to output GPIO switch with
53+
* a desired initial state.
54+
*
55+
* To prevent the blink resulted of the above @c CONFIG_BUS_BLINK_PROTECTION
56+
* may be configured. Undesirable side effect of using this parameter is a short
57+
* period of time when a direct voltage source is provided directly on the data
58+
* wire. This is basically unwanted behavior in the open-drain environment
59+
* (except parasitically powering slave devices in a specific period of time
60+
* during 1-wire activity). The side effect occurs while switching the data
61+
* wire GPIO from low to high state via the following 3-steps procedure:
62+
*
63+
* 1. Initial low state (GPIO configured as output-low).
64+
* 2. Hight state (GPIO configured as output-high) - direct voltage source
65+
* connected to the bus. This is an additional state provided by @c
66+
* CONFIG_BUS_BLINK_PROTECTION parameter.
67+
* 3. High state visible via pull-up resistor (GPIO configured as input).
4768
*/
4869
//#define CONFIG_BUS_BLINK_PROTECTION
4970

0 commit comments

Comments
 (0)