w1temp and wiringPi
pieman64 opened this issue · comments
@kolarcz can w1temp co-exist with wiringPi or does wiringPi need to be removed / disabled?
The pin references in your example, what are they:
- BCM references
- wiringPi references
- Physical pin references
- Official GPIO references
- Some other references
At the moment when I run yor example with:
sudo node example.js
I have disabled the power pin in the js and I haven't done the modprobe or config.txt edit as I thought it could all be done with sudo.
I will keep trying.
Temp changed: 22.625 °C
Temp changed: 22.687 °C
Temp changed: 22.625 °C
Temp changed: 22.687 °C
Temp changed: 22.625 °C
Temp changed: 22.687 °C
Temp changed: 22.625 °C
Temp changed: 22.687 °C
Temp changed: 22.625 °C
All working fine with the GPIO references being from the BCM table.
Thanks, maybe I should write which reference I am using.
can you help? I can not get temp display on the blynk app?
I have used:
cat /sys/bus/w1/devices/28-041692d33eff/w1_slave | sed -n 's/^.(t=[^ ]).*/\1/p' | sed 's/t=//' | awk '{x=$1}END{print(x/1000)}'
which shows the current temp so I know the sensor is good, and Ive also installed w1temp library.
Im very new to this but understand basic python and java coding.