Dear all.
Is there perhaps someone that have a working how to for dallas on the Raspbwerry with dietpi.??
I try a lot things that all should work with raspberry pi… only it looks that the diept is working different then the other os.?
I cannot find a lot f this on the forum or youtube or the internet eather…?
root@DietPi:~# i2cdetect -y 0
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
root@DietPi:~# gpio readall
+-----+-----+---------+------+---+-Model B2-+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| | | 3.3v | | | 1 || 2 | | | 5v | | |
| 12 | 8 | SDA.0 | ALT0 | 1 | 3 || 4 | | | 5V | | |
| 11 | 9 | SCL.0 | ALT0 | 1 | 5 || 6 | | | 0v | | |
| 6 | 7 | GPIO.7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD3 | 15 | 13 |
| | | 0v | | | 9 || 10 | 1 | ALT0 | RxD3 | 16 | 14 |
| 1 | 0 | RxD2 | IN | 0 | 11 || 12 | 0 | IN | GPIO.1 | 1 | 110 |
| 0 | 2 | TxD2 | IN | 0 | 13 || 14 | | | 0v | | |
| 3 | 3 | CTS2 | IN | 0 | 15 || 16 | 0 | IN | GPIO.4 | 4 | 68 |
| | | 3.3v | | | 17 || 18 | 0 | IN | GPIO.5 | 5 | 71 |
| 64 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | |
| 65 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | RTS2 | 6 | 2 |
| 66 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 67 |
| | | 0v | | | 25 || 26 | 1 | IN | GPIO.11 | 11 | 21 |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| | | GPIO.17 | | | 51 || 52 | | | GPIO.18 | | |
| | | GPIO.19 | | | 53 || 54 | | | GPIO.20 | | |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+-Model B2-+---+------+---------+-----+-----+
root@DietPi:~#
Please someone?
Thanks: