-
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
669 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
config BR2_PACKAGE_W1-DS18B20 | ||
bool "w1-ds18b20" | ||
help | ||
OneWire DS18B20 GPIO bitbang app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# w1-ds18b20 | ||
|
||
This app allows reading ds18b20 sensors in bitbang mode using direct GPIO memory access. | ||
Currently supports only HiSilicon-style GPIO offsets. Pull-up resistor is required. | ||
|
||
## Usage | ||
|
||
Example: reading temperature using GPIO8_2 on Gk7205V300 (consult datasheet or ipctool output) | ||
|
||
``` | ||
# ./w1-ds18b20 -base 0x120B8000 -gpio 2 | ||
28-4A4E3C1E64FF : 22.44 C | ||
``` |
Oops, something went wrong.