[OpenTRV-dev] OT: pulse output from arduino

Mike Stirling EMAIL ADDRESS HIDDEN
Wed May 29 09:09:26 BST 2013


Did you get this sorted? What are the pulses for, and how accurately timed do they need to be? Is lowest possible power consumption actually a requirement?
 

----------------original message----------------- 
From: "Bo Herrmannsen" EMAIL ADDRESS HIDDEN 
To: "Closed list for developer discussions" EMAIL ADDRESS HIDDEN 
Date: Tue, 28 May 2013 20:59:29 +0200 
----------------------------------------------------------

>
>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 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 EMAIL ADDRESS HIDDEN 
>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
>_______________________________________________
>OpenTRV-dev mailing list
>EMAIL ADDRESS HIDDEN EMAIL ADDRESS HIDDEN 
>http://lists.opentrv.org.uk/listinfo/opentrv-dev -> 
>http://arduino.cc/en/Tutorial/BlinkWithoutDelay]
>
>
>
>__________________________________________________
>
>
>_______________________________________________
>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/20130529/c32d4fb3/attachment.html>


More information about the OpenTRV-dev mailing list