Hello. I am first time work on beaglebone. I want to generate 3Khz clock on the timer7 (P8_8)pin of beaglebone. my python code is.
import Adafruit_BBIO.GPIO as GPIO import time outpin="P8_8" GPIO.setup(outpin,GPIO.OUT) GPIO.setclock(outpin,3000) while True: GPIO.output(outpin,GPIO.HIGH) time.sleep(2) GPIO.output(outpin,GPIO.LOW) time.sleep(2) -------------------------------------------------------------- It gives the error GPIO.setclock(outpin,3000) AttributeError: 'module' object has no attribute 'setclock' please correct me.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4d0ec916-3863-4976-aa10-91d2a9365d8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.