discoverpixy
Modules | Functions
Application
Collaboration diagram for Application:

Modules

 Pixy Control Helper
 
 Pixy Frame Helper
 
 Screens
 

Functions

void app_init ()
 
void app_process ()
 

Detailed Description

The App Module contains the effective, platform independent application.

Function Documentation

void app_init ( )

Starts/Initializes the app This function should be called at the top of the main function of your platform

Definition at line 37 of file app.c.

38 {
39  system_init();
40  tft_init();
41  touch_init();
43 
45 }
SCREEN_STRUCT * get_screen_main()
Definition: screen_main.c:196
bool gui_screen_navigate(SCREEN_STRUCT *screen)
Definition: screen.c:74
bool system_init()
Definition: system.c:21
bool filesystem_init()
Definition: filesystem.c:18
bool tft_init()
Definition: tft.c:39
bool touch_init()
Definition: touch.c:61

Here is the call graph for this function:

void app_process ( )

Executes one cycle of the app Call this function repeatedly from a loop inside the main function

Definition at line 48 of file app.c.

49 {
50 
51  system_process(); //Let the system handle it's pending events
52  gui_screen_update(); //update the currently active screen
53 }
void gui_screen_update()
Definition: screen.c:41
void system_process()
Definition: system.c:31

Here is the call graph for this function: