How would I set up a task that, say, turns a led on and off every second, in a device driver (module)? I've tried using rtdm_task_init and it successfully sets the task, but when I use rtdm_task_wait_period, it returns -EINVAL (meaning it's not seen as periodic by the system).
...
This question is kind of a subset of 90308
I'm looking for a good date library in any language which can handle periodic concepts
Date Ranges/sets which are independent of year:
dr = 1 May - 31 August
(4 May 2010) in dr
true
(4 May 2011) in dr
true
(4 March 2012) in dr
false
Day sets:
ds = m tu w sa su
(Mon, 4 ...
Hi, I want to a e-cards or something like that. The user can choose the e-cards, after chosen, he must enter the some fields like name(to and from), email(to and from), message and I want to let user to choose which date to send the e-cards.
How to send the e-cards on specific day? I need to write a script that run every new day? How to...
Is there a published data structure for storing periodic or recurring dates? Something that can handle:
The pump need recycling every five days.
Payday is every second Friday.
Thanksgiving Day is the second Monday in October (US: the fourth Thursday in November).
Valentine's Day is every February 14th.
Solstice is (usually) every June ...
I have a set of data that is periodic (but not sinusoidal). I have a set of time values in one vector and a set of amplitudes in a second vector. I'd like to quickly approximate the period of the function. Any suggestions?
Specifically, here's my current code. I'd like to approximate the period of the vector x(:,2) against the vector t....