Temperature Sensor Ds18b20 does not work on other pins, only on 4
|
4th Jun, 2014, 07:45 AM
Post: #1
|
|||
|
|||
Temperature Sensor Ds18b20 does not work on other pins, only on 4
Once upon a time there was a problem with 1-wire devices and raspberry, 1-wire devices worked only with pin 4, because in kernel driver this pin 4 has been hardcoded. But in december 2013 this problem was solved https://github.com/raspberrypi/linux/pull/457
and in Raspbian-2014-01-07 1-wire device works with all pins, if we add: Code: bcm2708.w1_gpio_pin=22 /boot/cmdline.txt for work with pin 22. In Xbian RC1(3.12.7+) kernel fresher than in my raspbian (3.10.25+), but in xbian 1-wire work only with pin 4. How I can use ds18b20 with pin 22 ? |
|||
« Next Oldest | Next Newest »
|