[OpenTRV-dev] OT: pulse output from arduino
Bo Herrmannsen
EMAIL ADDRESS HIDDEN
Tue May 28 19:59:29 BST 2013
i was given this example: http://arduino.cc/en/Tutorial/BlinkWithoutDelay
but is there a way to call this and just give it a i number like
analogwrite?
/bo
2013/5/26 Damon Hart-Davis <EMAIL ADDRESS HIDDEN>
> Duty cycle is the fraction of the time the output is HIGH and is nominally
> independent of the frequency.
>
> Rgds
>
> Damon
>
>
> On 26 May 2013, at 19:15, Bo Herrmannsen wrote:
>
> > Hi
> >
> > fighting a small thing here... i know i can use the pwm out for
> pulses... but how do i know for sure it gives say 3 pulses a sec? i calced
> something about a duty cycle of 50-60%
> >
> > but is there a more precise way?
> >
> >
> > /bo
> > _______________________________________________
> > OpenTRV-dev mailing list
> > EMAIL ADDRESS HIDDEN
> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
> _______________________________________________
> OpenTRV-dev mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opentrv.org.uk/pipermail/opentrv-dev/attachments/20130528/9a9474b4/attachment.html>
More information about the OpenTRV-dev
mailing list