mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
29 lines
637 B
C++
29 lines
637 B
C++
#ifndef ION_ION_H
|
|
#define ION_ION_H
|
|
|
|
#include <ion/battery.h>
|
|
#include <ion/display.h>
|
|
#include <ion/events.h>
|
|
#include <ion/keyboard.h>
|
|
#include <ion/led.h>
|
|
|
|
|
|
/* ION is not your regular library. It is a library you link against, but it
|
|
* will take care of configuring the whole environment for you. In POSIX terms,
|
|
* ION will implement the "main" function.
|
|
* Don't worry though, once all its initialization will be performed, ION will
|
|
* jump to your code at ion_app, which you have to implement yourself. */
|
|
|
|
void ion_app();
|
|
|
|
namespace Ion {
|
|
|
|
void msleep(long ms);
|
|
|
|
/* CAUTION: This is a complete reset! */
|
|
void reset();
|
|
|
|
}
|
|
|
|
#endif
|