View: 4886|Reply: 4

Orange PI Zero LTS Armbian

[Copy link]

1

threads

1

posts

9

credits

Novice

Rank: 1

credits
9
Published in 2021-4-9 00:00:51 | Show all floors |Read mode
Hello. Im trying to configure w1-gpio bus on Armbian.
There are default parametrs set:
/sys/bus/w1/devices/w1_bus_master

w1_master_timeout = 10
w1_master_timeout_us = 0

How to change them? Is this possible or require recompilation of w1-gpio module?

1

threads

24

posts

107

credits

Registered member

Rank: 2

credits
107
Published in 2021-4-13 15:45:37 | Show all floors
Those commands set the output.
To control the gpio pins install this library

  1. git clone https://github.com/xpertsavenue/WiringOP-Zero.git
Copy code


If git is not installed:
  1. sudo apt install git
Copy code


  1. cd WiringOP-Zero
  2. chmod +x ./build
  3. sudo ./build
Copy code


To use from terminal as normal user

gpio readall
gpio mode 7 out  (set pin7 as output)
gpio write 7  1   (pin 7 high)
gpio write 7 0  (pin 7 low)

Hope that helps

0

threads

26

posts

236

credits

Intermediate member

Rank: 3Rank: 3

credits
236
Published in 2023-7-8 00:29:26 | Show all floors
As someone who loves outdoor adventures, I'm thrilled to see that kayaking is becoming more accessible for big guys. Let's keep spreading the word! website link
Published in 2025-7-1 21:25:31 | Show all floors
Neat blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog shine. Please let me know where you got your theme. Thanks a lot        Bioma Probiotics for weight loss
Published in 7 daybefore | Show all floors
This is a good subject to talk about. Usually when I find stuff like this I stumble it. This article probably won’t do well with that crowd. I will be sure to submit something else though.        티비위키 최신주소
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list