HAL "blink" component .

More
25 Mar 2015 15:57 #57176 by bigalex
Hi to all.
I wrote a small HAL component that provide a "blink " function .
It is quite flexible due to the possibility to define the "on" and "off" time base independently as well as the their duration .
It can be used for lamp/led blinking or whatever is needed an adjustable duty cycle (i.e. machine grease/oil lubrication every 120s a shot of 2s).
The counting "on" / "off" time (1ms granularity due to the servo thread timing) are available on separate pins in case is needed their visualization
or elaboration from the machine logic.
It must be loaded into the servo thread.

Regards

Alex :blink:
Attachments:
The following user(s) said Thank You: ryucz

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum