zacky1972 / zackernel

Zackernel: an Engine for IoT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zackernel: an Engine for IoT

Zackernel is a tiny kernel that uses an event-driven, non-blocking I/O model like Node.js. It is written in C++11, to use lambda expressions.

Now, Zackernel works on the following environments:

  • Arduino

Zackernel needs the following software:

Milestone History

Code Name "Hiroki": 2016092401

Code Name "Hiroki": Bug fix with developing some applications using LEDs and switches.

The fixed bugs are:

Code Name "Kagoshima-Chuo": 2016090901

Code Name "Kagoshima-Chuo": Implementing Basic Loop Functions

Sample Client Code:

zLoop([&] {
  // calculate something forever with calling other tasks
});

bool flag = true;
zWhile([&] { return flag; }, [&] {
  // calculate something while flag is true with calling other tasks
});

bool flag = true;
zDoWhile([&] {
  // calculate something once and while flag is true with calling other tasks
}, [&] { return flag; });

int i;
zFor([&] { i = 1; }, [&] { i < NUM; }, [&] { i++; }, [&] {
  // calculate something while i < NUM with calling other tasks.
});

Code Name "Kagoshima": 2016090701

Implementing Absolute Time Management.

About

Zackernel: an Engine for IoT

License:MIT License


Languages

Language:C++ 87.8%Language:Arduino 12.2%