libMicrofx/template/src/main.c

17 lines
334 B
C

#include <microfx/microfx.h>
int main(void) {
while(kisdown());
/* Clear the screen */
sclear();
stext(1, 1, "A Microfx Add-in !", SBLACK);
/* Update the screen */
supdate();
/* Waits that the user presses EXIT. */
int key = 0;
while(key != KCEXIT){
key = kgetkey();
}
return 1;
}