New answers tagged

0

Maybe this adds another small bit of help: You can choose if you like to use the pin number or the gpio "name" like gpio 18. If you like to set the pin number, do GPIO.setmode(GPIO.BOARD) or use the gpio name with GPIO.setmode(GPIO.BCM) Also a good help for debugging with gpio's is the wiring pi gpio utility (from here) to access the gpio's from the ...


2

It seems that you only found setups, using routing. But it is no problem to setup the WiFi access point on the RasPi to be on the same internal subnet as the internet router. You have to bridge the wired connection to the router on eth0 with the wlan0 interface of the access point. This way you are even on the same broadcast domain as the router, so your ...


1

Remove your GPIO.cleanup() lines, this would normally only be called before you exit a program. https://sourceforge.net/p/raspberry-gpio-python/wiki/BasicUsage/ Cleanup At the end any program, it is good practice to clean up any resources you might have used. This is no different with RPi.GPIO. By returning all channels you have used back to ...


1

For the future, you can get hints about missing commands directly in the command line: $ sudo apt install command-not-found $ sudo update-command-not-found $ dkms The program 'dkms' is currently not installed. You can install it by typing: sudo apt-get install dkms Of course it's not smart enough to tell you that dkms is indeed the command you need, or ...


1

Automatically installing Linux kernel modules with the DKMS framework is a convenient way of distributing drivers that are maintained outside of the official kernel. However, while DKMS is included in many popular Linux distributions and supports most kernel modules, it can’t always guarantee the proper installation of a third-party module. Source ...


Top 50 recent answers are included