New answers tagged

1

You cannot use ~/.bashrc to run a program at boot up. It is to configure bash and runs only with bash sessions and not at boot up of the RasPi. To have a service started on boot up you best use a systemd Unit file. Try it by creating a Unit file with: rpi ~$ sudo systemctl --force --full edit myprogram.service In the empty editor insert these statements, ...


0

Sorry, didn't know I'd sent you on a bad search. First, wiringPi - case is critical. Second, on my Pi Zero W Jessie: whereis wiringPi wiringPi: /user/include/wiringPi.h Oh, that's a header, it's there for compiling a C program. First, check this post, http://wiringpi.com/wiringpi-deprecated/ Then, if you have a Python program, hunt up this: https://www....


0

I think what's happening is the module is present, but not where it's being looked for. 2 things, running at boot it may be running as root. This changes paths among other things, also, there's when it's started relative to other things being set up. So, first, try using the full path name ( import /... ??/wiringpi ) ( wherever it is ). If that doesn't ...


Top 50 recent answers are included