Top "Gpio" questions

General Purpose Input/Output (GPIO) is a generic pin on a chip whose behavior (including whether it is an input or output pin) can be controlled (programmed) by the user at run time.

NameError: name 'true' is not defined

I want to use Boolean ( true / false ) in my python source file, but after running the application, I receive the …

python gpio
Raspberry Pi- GPIO Events in Python

I am using the GPIO pins on my Raspberry Pi with a PIR sensor to detect motion. When the sensor …

python events raspberry-pi motion gpio
Configuring Pins Mode Beaglebone

In the beagleboard or beaglebone are different modes to work the pin. With the previous kernel they are located in /…

beagleboard gpio device-tree
ValueError: The channel sent is invalid on a Raspberry Pi - Controlling GPIO Pin 2 (BOARD) using Python causes Error

So I have a tiny little fan connected to pin 6(Ground) and pin 2. I am trying to manually start and …

python raspberry-pi raspbian gpio
How to properly initialize I2C stm32?

I want to get data from ADXL345 accelerometer,but seems that I incorrectly connect it. SCL- PC6(with 10k resistor) …

arm accelerometer i2c stm32 gpio
Driving Beaglebone GPIO through /dev/mem

I'm trying to write a C program for blinking a LED on the Beaglebone. I know I can use the …

embedded embedded-linux mmap gpio
Python Key press and Key Release Listener

I am controlling a remote toy car using python code .As of now the code is as below def getkey(): …

python raspberry-pi gpio
Accessing the GPIO (of a raspberry pi) without ``sudo``

This question might not be specific to the raspberry pi, of course. Also, I'm relatively new to Linux. I want …

linux sudo raspberry-pi gpio
How to trigger Python script on Raspberry Pi from Node-Red

I'm using Node-Red, hosted on a Raspberry Pi for an IoT project. How do I trigger a Python script that …

python raspberry-pi gpio iot node-red
Docker Access to Raspberry Pi GPIO Pins

When running Docker on the Raspberry Pi 2, how can we expose the GPIO pins to the Docker container?

docker raspberry-pi gpio raspberry-pi2