What programming language are you looking for the (library) docs. you need? Have you looked for any "README" files within (library) source code (if provided)?QMESAR wrote: Hi All.
I apologize for this question however I have spend some time on the web to find the documentation for the following with limited success
(1) the GPIO library
(2) SPI Library
I would like to look what functions are available for use in the libraries .I am very new to this and only got a LED to blink so far from an example program
I appreciate any help or guidance
Dear Mr FTrevorGowan,
Code: Select all
import Rpi.GPIO as GPIO #import GPIO module import time #import time module LED = 18 ON = 1 OFF = 0 GPIO.setmode(GPIO,BCM) #set BCM pin numbering GPIO.setup(LED,GPIO.OUT) #configure CH 18 as output for i in range (0,10): GPIO.output(LED,ON) time.sleep(1) GPIO.output(LED,OFF) time.sleep(1) GPIO.cleanup() # cleanup
and you post a code but not what it is and how you run itI am trying to learn Paython
Thank you for the reply .I fail to see what this has to do with the document that tells me how to use the RPI.GPIO libraryand you post a code but not what it is and how you run it
it is still not clear / we need to guess / what you talk about.
I do not know how to explain what I am looking for more that I did sorry if my english makes no senseI did the sample project to blink an LED from GPIO18 with the Import RRi.GPIO as GPIO as you will see from the code snippet attached
and it also uses the time library so where do I get or find more information about these things
Users browsing this forum: mothzart and 22 guests