You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
398 B
26 lines
398 B
/**
|
|
* UI
|
|
*/
|
|
|
|
#ifndef CPROJ_USER_INTERFACE_H
|
|
#define CPROJ_USER_INTERFACE_H
|
|
|
|
#define DISPLAY_W 128
|
|
#define DISPLAY_H 32
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
void clear_screen();
|
|
|
|
void init_user_interface();
|
|
|
|
void show_current_radiation();
|
|
|
|
void show_empty_battery();
|
|
|
|
void show_loading_screen(uint8_t progress_percent, bool clear);
|
|
|
|
void turn_off_display();
|
|
|
|
#endif //CPROJ_USER_INTERFACE_H
|
|
|