jal
Posts: 28
Joined: Mon Oct 01, 2012 10:47 am
Location: Estonia

1-WIRE in bash

Thu Feb 20, 2014 4:00 pm

Can I read 1-Wire sensor in bash, without it's serial number? I have always only one sensor connected!

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: 1-WIRE in bash

Sat Feb 22, 2014 5:04 am

yes;

Code: Select all

ls -1 /sys/bus/w1/devices/
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Return to “Other programming languages”