Refactored Project Structure for use with emulator
This commit is contained in:
15
common/app/app.c
Normal file
15
common/app/app.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "app.h"
|
||||
#include "tft.h"
|
||||
#include <stdio.h>
|
||||
|
||||
void app_init() {
|
||||
tft_init();
|
||||
|
||||
tft_draw_line(10,10,30,40,0b11111);
|
||||
|
||||
}
|
||||
|
||||
void app_process() {
|
||||
/// printf("hello world\n");
|
||||
|
||||
}
|
||||
2
common/app/app.h
Normal file
2
common/app/app.h
Normal file
@@ -0,0 +1,2 @@
|
||||
void app_init();
|
||||
void app_process();
|
||||
Reference in New Issue
Block a user