TaskAction:

TaskAction for Arduino
Author: José Aristizábal
Contact: davidaristi.0504@gmail.com

Navigation


Description

TaskAction is a library that helps the management actions over time.


Example

#include <TaskAction.h>

const int LedPin = 13;
const int Inverval = 100;

TaskAction task(blinkLed, Inverval, INFINITE_TICKS);

bool LedState = false;
void blinkLed()
{
  LedState = !LedState;
  digitalWrite(LedPin, LedState);
}

void setup()
{
  pinMode(LedPin, OUTPUT);
}

void loop()
{
  task.tick();

  // some code...
}
 


Known bugs

Without known bugs.


Content

The zip file content:
.h header file
.cpp source file
.txt Keywords file
examples folder with 4 useful examples.


Download

For "stable" release
https://github.com/blackhack/ArduLibraries/blob/master/Releases/TaskAction.rar?raw=true

For latest updates
https://github.com/blackhack/ArduLibraries/tree/master/TaskAction
----

Contact and Suggestions

Send mail to: davidaristi.0504@gmail.com

Share