You are on page 1of 3

 What is import RPi Gpio as GPIO?

import RPi.GPIO as GPIO. By doing it this way, you can refer to it as just GPIO through the
rest of your script. To import the module and check to see if it is successful.
 Use GPIO.setwarnings(False) to disable warnings." The warning is cleaned up if
the GPIO.cleanup() command is used at the end of a program.

You might also like