Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import gpio raspberry pi

# The RPi.GPIO module is installed by default on recent versions of Raspbian Linux. To use the module from Python programs, first import it using:

import RPi.GPIO as GPIO

# This way you can refer to all functions in the module using the shorter name "GPIO".
Source by www.ics.com #
 
PREVIOUS NEXT
Tagged: #import #gpio #raspberry #pi
ADD COMMENT
Topic
Name
4+4 =