Thank you Sterling. I will take a look at the information you pointed me
to.
Cheers
James
On Sat, May 28, 2016 at 2:54 PM, Sterling Hughes
wrote:
> Hi James,
>
> Callouts are perfect for this type of function. I’d recommend
> multiplexing this within the task context
Hi James,
Callouts are perfect for this type of function. I’d recommend
multiplexing this within the task context you are running out of.
Essentially the logic works like:
- Turn the LED on
- Set a callout for 1 second to turn the LED back off
If your task is waiting on an event queue,
Hi,
I want to be able to flash an LED on for ~1 second when some condition
occurs. I don't want this to be flashing all the time like the blinky
example.
What's the right way to add a task that runs only once? Or should I not be
using a task at all for this?
Cheers
James