Trainer
(Hannes)
21
Thank you.
I do everything you explain me, but i got the same message, if i try to use codesend without sudo
wiringPiSetup: Unable to open /dev/mem or /dev/gpiomem: Permission denied.
Try running with sudo?
Josar
(Josar)
22
Fresh installation of the latest Rasbpian is my last idea.
Trainer
(Hannes)
23
If someone has the same problem, after i follow this instruction, i can use it without sudo.
https://raspberrypi.stackexchange.com/questions/40105/access-gpio-pins-without-root-no-access-to-dev-mem-try-running-as-root
it should looks like this
$ ls -l /dev/gpiomem
crw-rw---- 1 root gpio 244, 0 Dec 28 22:51 /dev/gpiomem
if not, you can chance it with this commands
sudo chown root.gpio /dev/gpiomem
sudo chmod g+rw /dev/gpiomem