You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,9 @@ We have the typical Autotools installation flow. We will compile the code from s
63
63
Firstly, if we're running as non-root the user running the program will need access to SPI and GPIO. Use `raspi-config` to enable SPI. Then add the user to the following groups:
64
64
65
65
```
66
-
$ usermod -a -G gpio spi pi # assumes the pi user
66
+
$ usermod -a -G gpio -G spi pi # assumes the pi user
67
+
$ sudo chown root:spi /dev/spidev*
68
+
$ sudo chmod g+rw /dev/spidev*
67
69
```
68
70
69
71
Note, this command will not take effect until the user logs in and out again. You can verify using the `groups` command.
0 commit comments