slawekw79
Posts: 31
Joined: Tue Dec 30, 2014 3:36 pm

Re: Startracker

Tue Mar 24, 2015 5:06 pm

Hi guys
Quick question, what about accuracy in GPIO.PWM? if i made code:

Code: Select all

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12, GPIO.OUT)

p = GPIO.PWM(17, 34.4656)
p.start(1)
raw_input('Press return to stop:')
p.stop()
GPIO.cleanup()
it will make correct accuracy?

Return to “Automation, sensing and robotics”